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 12ec5b7 commit 7c83a04Copy full SHA for 7c83a04
core/src/marker.rs
@@ -1018,3 +1018,12 @@ pub trait FnPtr: Copy + Clone {
1018
#[lang = "fn_ptr_addr"]
1019
fn addr(self) -> *const ();
1020
}
1021
+
1022
+/// Derive macro generating impls of traits related to smart pointers.
1023
+#[cfg(not(bootstrap))]
1024
+#[rustc_builtin_macro]
1025
+#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)]
1026
+#[unstable(feature = "derive_smart_pointer", issue = "123430")]
1027
+pub macro SmartPointer($item:item) {
1028
+ /* compiler built-in */
1029
+}
0 commit comments