mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
85eb465a10
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.