rust/compiler/rustc_hir_analysis
Zalathar 7b73e4fd44 Allow restricted trait impls in macros with min_specialization
Implementing traits marked with `#[rustc_specialization_trait]` normally
requires (min-)specialization to be enabled for the enclosing crate.

With this change, that permission can also be granted by an
`allow_internal_unstable` attribute on the macro that generates the impl.
2024-02-10 18:14:02 +11:00
..
2024-02-05 21:08:47 +00:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.