mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-16 17:26:36 +00:00

Store `do_not_recommend`-ness in impl header Alternative to #128674 It's less flexible, but also less invasive. Hopefully it's also performant. I'd recommend we think separately about the design for how to gate arbitrary diagnostic attributes moving forward.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.