We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 054b256 commit 1bb8bdeCopy full SHA for 1bb8bde
core/src/marker.rs
@@ -1063,10 +1063,11 @@ pub trait FnPtr: Copy + Clone {
1063
}
1064
1065
/// Derive macro generating impls of traits related to smart pointers.
1066
-#[rustc_builtin_macro(SmartPointer, attributes(pointee))]
+#[rustc_builtin_macro(CoercePointee, attributes(pointee))]
1067
#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)]
1068
-#[unstable(feature = "derive_smart_pointer", issue = "123430")]
1069
-pub macro SmartPointer($item:item) {
+#[unstable(feature = "derive_coerce_pointee", issue = "123430")]
+#[cfg(not(bootstrap))]
1070
+pub macro CoercePointee($item:item) {
1071
/* compiler built-in */
1072
1073
0 commit comments