diff options
| author | Xiangfei Ding <dingxiangfei2009@protonmail.ch> | 2024-05-26 17:57:13 +0800 |
|---|---|---|
| committer | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-06-24 03:03:34 +0800 |
| commit | f1be59fa72b06c4a28acc59a0f0dff1484db0778 (patch) | |
| tree | 2abe2b107ae2a78d206e33c0fed974ea5e5a291b /compiler/rustc_builtin_macros/src/lib.rs | |
| parent | aabbf84b45a5e7b868c33e959d7e5cc985097d19 (diff) | |
| download | rust-f1be59fa72b06c4a28acc59a0f0dff1484db0778.tar.gz rust-f1be59fa72b06c4a28acc59a0f0dff1484db0778.zip | |
SmartPointer derive-macro
Co-authored-by: Wedson Almeida Filho <walmeida@microsoft.com>
Diffstat (limited to 'compiler/rustc_builtin_macros/src/lib.rs')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_builtin_macros/src/lib.rs b/compiler/rustc_builtin_macros/src/lib.rs index 35b0f43d8af..8ac59605bc1 100644 --- a/compiler/rustc_builtin_macros/src/lib.rs +++ b/compiler/rustc_builtin_macros/src/lib.rs @@ -127,6 +127,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) { PartialOrd: partial_ord::expand_deriving_partial_ord, RustcDecodable: decodable::expand_deriving_rustc_decodable, RustcEncodable: encodable::expand_deriving_rustc_encodable, + SmartPointer: smart_ptr::expand_deriving_smart_ptr, } let client = proc_macro::bridge::client::Client::expand1(proc_macro::quote); |
