diff options
| author | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-10-05 17:44:53 +0800 |
|---|---|---|
| committer | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2024-10-24 02:14:09 +0800 |
| commit | fd36b3a4a8168fcadecac2317e407bbd0eaeb1d2 (patch) | |
| tree | f2c48c56f9f5903519cba4f257b8213fedf6f853 /tests/ui/deriving/proc-macro-attribute-mixing.rs | |
| parent | be01dabfefd2daa4574b974f571c7852085d60cb (diff) | |
| download | rust-fd36b3a4a8168fcadecac2317e407bbd0eaeb1d2.tar.gz rust-fd36b3a4a8168fcadecac2317e407bbd0eaeb1d2.zip | |
s/SmartPointer/CoerceReferent/g
move derive_smart_pointer into removed set
Diffstat (limited to 'tests/ui/deriving/proc-macro-attribute-mixing.rs')
| -rw-r--r-- | tests/ui/deriving/proc-macro-attribute-mixing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/deriving/proc-macro-attribute-mixing.rs b/tests/ui/deriving/proc-macro-attribute-mixing.rs index 489665ebeb5..80a0d068ce7 100644 --- a/tests/ui/deriving/proc-macro-attribute-mixing.rs +++ b/tests/ui/deriving/proc-macro-attribute-mixing.rs @@ -1,5 +1,5 @@ // This test certify that we can mix attribute macros from Rust and external proc-macros. -// For instance, `#[derive(Default)]` uses `#[default]` and `#[derive(SmartPointer)]` uses +// For instance, `#[derive(Default)]` uses `#[default]` and `#[derive(CoercePointee)]` uses // `#[pointee]`. // The scoping rule should allow the use of the said two attributes when external proc-macros // are in scope. @@ -8,7 +8,7 @@ //@ aux-build: another-proc-macro.rs //@ compile-flags: -Zunpretty=expanded -#![feature(derive_smart_pointer)] +#![feature(derive_coerce_pointee)] #[macro_use] extern crate another_proc_macro; |
