2 ms·
Take a program that doesn't work, like this one: https://play.rust-lang.org/?gist=2c7b672c6a211e3ab2f3995e37d5a52a&version=stable https://play.rust-lang.org/?gi
by steveklabnik 9y ago
Take a program that doesn't work, like this one: https://play.rust-lang.org/?gist=2c7b672c6a211e3ab2f3995e37d5a52a&version=stable https://play.rust-lang.org/?gist=2c7b672c6a211e3ab2f3995e37d...
> error[E0384]: cannot assign twice to immutable variable `x`
That E0384 is a link in the browser. Click it and you go to https://doc.rust-lang.org/error-index.html#E0384 https://doc.rust-lang.org/error-index.html#E0384 which has a longer version of this error.
On the command line, you can run `rustc --explain E0384` and it'll print out the same text to the terminal.
- carlmr 9y agoNice, thank you! I always Googled it until now.