diff options
Diffstat (limited to 'tests/ui/attributes/unused-item-in-attr.rs')
| -rw-r--r-- | tests/ui/attributes/unused-item-in-attr.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/attributes/unused-item-in-attr.rs b/tests/ui/attributes/unused-item-in-attr.rs new file mode 100644 index 00000000000..70dcd5413f1 --- /dev/null +++ b/tests/ui/attributes/unused-item-in-attr.rs @@ -0,0 +1,6 @@ +#[w = { extern crate alloc; }] +//~^ ERROR unexpected expression: `{ +//~| ERROR cannot find attribute `w` in this scope +fn f() {} + +fn main() {} |
