Skip to content

Commit b247d9a

Browse files
derive(SmartPointer): register helper attributes
1 parent f74940d commit b247d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ pub trait FnPtr: Copy + Clone {
10601060
}
10611061

10621062
/// Derive macro generating impls of traits related to smart pointers.
1063-
#[rustc_builtin_macro]
1063+
#[rustc_builtin_macro(SmartPointer, attributes(pointee))]
10641064
#[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)]
10651065
#[unstable(feature = "derive_smart_pointer", issue = "123430")]
10661066
pub macro SmartPointer($item:item) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy