mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
Implement `#[diagnostic::opaque]` attribute to hide backtraces of macros.
r? @estebank
There are some more places where we can use this, for example 345632878c/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs (L623-L639) but those turned out to be a little complicated so are left for followup prs.
Tracking issue: rust-lang/rust#158813