Login
You're viewing the techdon.dev public feed.
  • Sep 26, 2026, 5:40 PM

    If you're intrigued by what kind of tweaks rustc gets on the regular, here's a small thing that should aid in reading some diagnostics. Some time back I discussed with @muscraft that I've wanted a way to ensure some code appears in diagnostics, but not underline them, because they are useful context but unrelated to the problem. Over time, he proceeded to implement that feature in annotate-snippets-rs *and* migrate rustc to use that crate (closing a ton of tickets for incorrect rendering or inconsistencies, the current codebase for that crate is much better than rustc's ever was). So now that we have that new toy, I've been going around using it! And if I may say so myself, I think it works great:

    github.com/rust-lang/rust/pull

    #Rust #RustLang

    💬 0🔄 3⭐ 5