~/talk

Compiler Errors in rustc: A UX Perspective

Talkat Øredev 2018 · on Monday, 2018-11-19· [rust]
slides:none on file

Argues that excellent Rust compiler errors come from preserving source spans across AST → HIR → MIR, interning them in a source map so diagnostics can point back to original bytes, and from a small API surface like struct_span_error returning a DiagnosticBuilder plus help and suggestion helpers. Notes borrow checking moves to MIR, offers span_suggestion with applicability, and shows that cargo fix (machine‑applicable suggestions) automates large codebase migrations and actually works.

AI-written summary · about

  1. 0:00Start
  2. 2:09Rust isn't easy
  3. 3:46Languages compete on UX
  4. 5:54Standards have risen
  5. 11:20Compiler internals Overview
  6. 21:04The problem with lowering
  7. 23:15Compiler sessions
  8. 36:14Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.