Skip to content

Commit

Permalink
s/SmartPointer/CoerceReferent/g
Browse files Browse the repository at this point in the history
move derive_smart_pointer into removed set
  • Loading branch information
dingxiangfei2009 committed Oct 23, 2024
1 parent 054b256 commit 1bb8bde
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1063,10 +1063,11 @@ pub trait FnPtr: Copy + Clone {
}

/// Derive macro generating impls of traits related to smart pointers.
#[rustc_builtin_macro(SmartPointer, attributes(pointee))]
#[rustc_builtin_macro(CoercePointee, attributes(pointee))]
#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)]
#[unstable(feature = "derive_smart_pointer", issue = "123430")]
pub macro SmartPointer($item:item) {
#[unstable(feature = "derive_coerce_pointee", issue = "123430")]
#[cfg(not(bootstrap))]
pub macro CoercePointee($item:item) {
/* compiler built-in */
}

Expand Down

0 comments on commit 1bb8bde

Please sign in to comment.