mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-16 12:51:30 -04:00
2d4ae662df
Implement `#[diagnostic::opaque]` attribute to hide backtraces of macros. r? @estebank There are some more places where we can use this, for example https://github.com/rust-lang/rust/blob/345632878cffcb4c8e90750e943296b43d16c76e/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