miniblog.
← Back to all posts
Oct 6, 2016 at 23:24
Rust's error messages can refer to multiple parts of code, and include increasing amounts of prose:
https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html
looks promising!
Redirect
blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html
Wilfred Hughes
Related Posts
Dec 20, 2018 at 00:41
Programming in Rust has become so much easier than when I first started. Not only the continuing polish of the core tools (e.g. error message clarity, rustfmt is bundled now) but also the increasing breadth and quality of the libraries available!
Wilfred Hughes
Shared words: Rust, error, messages, increasing Score: 114.8
Feb 6, 2018 at 08:23
Implementing an RPN macro in Rust:
https://blog.cloudflare.com/writing-complex-macros-in-rust-reverse-polish-notation/
(includes a really useful section on robust macros that produce good error messages)
Writing complex macros in Rust: Reverse Polish Notation
Among other interesting features, Rust has a powerful macro system. Unfortunately, even after reading The Book and various tutorials, when it came to trying to implement a macro which involved processing complex lists of different elements, I still struggled to understand how it should be done.
Wilfred Hughes
Shared words: Rust, error, messages, include Score: 109.6
May 31, 2019 at 23:20
The evolution of Rust compiler error messages, the approach taken by the core team, and even some sample code from the Rust lexer and parser!
Friendly Ferris: Developing kind compiler errors
estebank.github.io/rust/
Wilfred Hughes
Shared words: Rust, error, messages, code Score: 101.6