@@ -1063,9 +1063,10 @@ pub trait FnPtr: Copy + Clone { |
|
|
1063 |
1063 |
} |
1064 |
1064 |
|
1065 |
1065 |
/// Derive macro generating impls of traits related to smart pointers. |
1066 |
|
-#[rustc_builtin_macro(SmartPointer, attributes(pointee))] |
|
1066 |
+#[rustc_builtin_macro(CoercePointee, attributes(pointee))] |
1067 |
1067 |
#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)] |
1068 |
|
-#[unstable(feature = "derive_smart_pointer", issue = "123430")] |
1069 |
|
-pub macro SmartPointer($item:item) { |
|
1068 |
+#[unstable(feature = "derive_coerce_pointee", issue = "123430")] |
|
1069 |
+#[cfg(not(bootstrap))] |
|
1070 |
+pub macro CoercePointee($item:item) { |
1070 |
1071 |
/* compiler built-in */ |
1071 |
1072 |
} |