|
|
|
|
|
by gravypod
1863 days ago
|
|
Another fun feature of rustc is you can execute this command: rustc --explain E0502 It gives you a small example of what the error is, explains it, and tells you how to fix it. This is a very nice feature for new people (like myself). |
|
In C++ you (usually) do this with `const`, which is fairly low friction, very statically analyzable, and I'm a little unclear what bug hardcore borrow-checker static stops me or my colleagues from making that `const` can't catch?