diff options
Diffstat (limited to 'tests/ui/proc-macro/derive-still-gated.rs')
| -rw-r--r-- | tests/ui/proc-macro/derive-still-gated.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/derive-still-gated.rs b/tests/ui/proc-macro/derive-still-gated.rs new file mode 100644 index 00000000000..3f8d6f0716b --- /dev/null +++ b/tests/ui/proc-macro/derive-still-gated.rs @@ -0,0 +1,9 @@ +// aux-build:test-macros.rs + +#[macro_use] +extern crate test_macros; + +#[derive_Empty] //~ ERROR cannot find attribute `derive_Empty` in this scope +struct A; + +fn main() {} |
