derive(SmartPointer): register helper attributes · patricklam/verify-rust-std@b247d9a (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit b247d9a
derive(SmartPointer): register helper attributes
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1060,7 +1060,7 @@ pub trait FnPtr: Copy + Clone { | ||
1060 | 1060 | } |
1061 | 1061 | |
1062 | 1062 | /// Derive macro generating impls of traits related to smart pointers. |
1063 | -#[rustc_builtin_macro] | |
1063 | +#[rustc_builtin_macro(SmartPointer, attributes(pointee))] | |
1064 | 1064 | #[allow_internal_unstable(dispatch_from_dyn, coerce_unsized, unsize)] |
1065 | 1065 | #[unstable(feature = "derive_smart_pointer", issue = "123430")] |
1066 | 1066 | pub macro SmartPointer($item:item) { |