We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d584b60 commit 564284fCopy full SHA for 564284f
core/src/marker.rs
@@ -1060,7 +1060,7 @@ pub trait FnPtr: Copy + Clone {
1060
}
1061
1062
/// Derive macro generating impls of traits related to smart pointers.
1063
-#[rustc_builtin_macro]
+#[rustc_builtin_macro(SmartPointer, attributes(pointee))]
1064
#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)]
1065
#[unstable(feature = "derive_smart_pointer", issue = "123430")]
1066
pub macro SmartPointer($item:item) {
0 commit comments