1
Fork 0
rust/compiler/rustc_feature/src
Lukas Markeffsky 42c00cb647 split up #[rustc_deny_explicit_impl] attribute
This commit splits the `#[rustc_deny_explicit_impl(implement_via_object = ...)]` attribute
into two attributes `#[rustc_deny_explicit_impl]` and `#[rustc_do_not_implement_via_object]`.

This allows us to have special traits that can have user-defined impls but do not have the
automatic trait impl for trait objects (`impl Trait for dyn Trait`).
2024-12-20 16:57:14 +01:00
..
accepted.rs Stabilize #[diagnostic::do_not_recommend] 2024-12-18 07:10:53 +01:00
builtin_attrs.rs split up #[rustc_deny_explicit_impl] attribute 2024-12-20 16:57:14 +01:00
lib.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
removed.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Add RUSTC_BOOTSTRAP=-1 to make rustc pretend as stable compiler 2024-11-17 19:59:52 +08:00
unstable.rs Stabilize #[diagnostic::do_not_recommend] 2024-12-18 07:10:53 +01:00