Friendly Ferris: Developing Kind Compiler Errors
summary
Improving rustc diagnostics by changing the compiler itself (not just phrasing) to act more like a tutor: producing sensible standalone errors, focusing on common cases, recovering from error states so later checks still run, and hiding cascading errors. Concrete work includes clearer lifetime and type diagnostics, small code-transform fixes that let compilation continue, and community patches integrated quickly (within about six months).
AI-written summary · about
chapters (10)
- 0:00Welcome
- 2:58Rust compiler discovery
- 6:07Error message structure
- 12:40Friendly diagnostics
- 16:17Error state recovery
- 18:24Hiding redundant errors
- 19:32Scaling with suggestions
- 21:21Rust error evolution
- 22:29Contributing to compiler
- 24:58Friendly errors importance
related talks
25m"Compiler-Driven Development: Making Rust Work for You"
37mCompiler Errors in rustc: A UX Perspective
31mThe Anatomy of Error Messages in Rust
58mRust for The Curious C++ Developers
21m“Fearless Refactoring & the Art of Argument-Free Rust”
38mMaking Rust Delightful
14mAn Empirical Study of Bugs in the rustc Compiler
32mBuilding and Maintaining Rust at Scale
