diff options
| author | Ralf Jung <post@ralfj.de> | 2025-01-02 21:22:42 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-01-03 12:01:31 +0100 |
| commit | ac9cb908ac4301dfc25e7a2edee574320022ae2c (patch) | |
| tree | 5b56b884318fc58bf28c82a38d0a2e7efd9d9207 /compiler/rustc_feature/src/builtin_attrs.rs | |
| parent | bf6f8a4d328f7f3b0f6ea8205ad28591cc11aafd (diff) | |
| download | rust-ac9cb908ac4301dfc25e7a2edee574320022ae2c.tar.gz rust-ac9cb908ac4301dfc25e7a2edee574320022ae2c.zip | |
turn rustc_box into an intrinsic
Diffstat (limited to 'compiler/rustc_feature/src/builtin_attrs.rs')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 4112ae80980..71941c8a206 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -933,11 +933,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ "#[rustc_has_incoherent_inherent_impls] allows the addition of incoherent inherent impls for \ the given type by annotating all impl items with #[rustc_allow_incoherent_impl]." ), - rustc_attr!( - rustc_box, AttributeType::Normal, template!(Word), ErrorFollowing, EncodeCrossCrate::No, - "#[rustc_box] allows creating boxes \ - and it is only intended to be used in `alloc`." - ), BuiltinAttribute { name: sym::rustc_diagnostic_item, |
