Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Anatomy of Error Messages in Rust

Rust via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the construction of Rust's renowned error messages in this 31-minute conference talk from RustFest Global 2020. Delve into the inner workings of rustc to uncover the process behind creating these informative diagnostics. Compare and contrast Rust's approach with error message construction in other programming languages. Learn about the standard error message format, parsing phase, and specific error types such as turbofish missing angle brackets, mutability errors, and lifetime errors. Gain insights into the eagerness of Rust's error reporting and how it contributes to the language's user-friendly development experience.

Syllabus

Introduction
The Norm
Undefined
Not perfect
Process of elimination
Standard error message format
The parsing phase
Check turbofish missing angle brackets
Mutability error
Lifetime error
eagerness
other languages

Taught by

Rust

Reviews

Start your review of The Anatomy of Error Messages in Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.