1
Fork 0

derive(SmartPointer): register helper attributes

This commit is contained in:
Ding Xiang Fei 2024-08-10 21:11:07 +08:00
parent 899eb03926
commit 5534cb0a4a
No known key found for this signature in database
GPG key ID: 3CD748647EEF6359
9 changed files with 165 additions and 19 deletions

View file

@ -578,12 +578,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
EncodeCrossCrate::No, coroutines, experimental!(coroutines)
),
// `#[pointee]` attribute to designate the pointee type in SmartPointer derive-macro
gated!(
pointee, Normal, template!(Word), ErrorFollowing,
EncodeCrossCrate::No, derive_smart_pointer, experimental!(pointee)
),
// RFC 3543
// `#[patchable_function_entry(prefix_nops = m, entry_nops = n)]`
gated!(