News for hackers. Stuff that matters.
Re:Oxidizing Source Maps with Rust and WebAssembly by carlmr on Friday January 19, 2018 @07:42AM (#16185775)
>You should file bugs! We care deeply about the legibility of error messages, and the whole --explain system is there to try and go above and beyond.

Next time I do some Rust I will. I also need to check out that --explain system. I didn't see that when learning Rust.

Re:Oxidizing Source Maps with Rust and WebAssembly by steveklabnik on Friday January 19, 2018 @08:31AM (#16186020)
Take a program that doesn't work, like this one: 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 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.

Re:Oxidizing Source Maps with Rust and WebAssembly by carlmr on Monday January 22, 2018 @04:14AM (#16203018)
Nice, thank you! I always Googled it until now.