Skip to content

Commit 1bb8bde

Browse files
s/SmartPointer/CoerceReferent/g
move derive_smart_pointer into removed set
1 parent 054b256 commit 1bb8bde

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/src/marker.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1063,10 +1063,11 @@ pub trait FnPtr: Copy + Clone {
10631063
}
10641064

10651065
/// Derive macro generating impls of traits related to smart pointers.
1066-
#[rustc_builtin_macro(SmartPointer, attributes(pointee))]
1066+
#[rustc_builtin_macro(CoercePointee, attributes(pointee))]
10671067
#[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) {
10701071
/* compiler built-in */
10711072
}
10721073

0 commit comments

Comments
 (0)