Skip to content

Commit

Permalink
derive(SmartPointer): register helper attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxiangfei2009 committed Aug 12, 2024
1 parent f74940d commit b247d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ pub trait FnPtr: Copy + Clone {
}

/// Derive macro generating impls of traits related to smart pointers.
#[rustc_builtin_macro]
#[rustc_builtin_macro(SmartPointer, attributes(pointee))]
#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)]
#[unstable(feature = "derive_smart_pointer", issue = "123430")]
pub macro SmartPointer($item:item) {
Expand Down

0 comments on commit b247d9a

Please sign in to comment.