miniblog.
← Back to all posts
Wilfred Hughes
May 16, 2015 at 16:22
Proposed an improvement to errors in the rust compiler, and a patch landed in less than a day. Seriously impressed.
https://github.com/rust-lang/rust/issues/25468
Suggestion: Syntax errors for malformed `extern` statements could be clearer · Issue #25468 · rust-lang/rust
This is a very minor bit of polish, but I bumped into it. Given the following syntactically invalid code: extern crte hyper; fn main() { println!("hello world") } rustc produces the error: $ rustc ...