diff options
Diffstat (limited to 'tests/ui/lint/lint-malformed.rs')
-rw-r--r-- | tests/ui/lint/lint-malformed.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/lint/lint-malformed.rs b/tests/ui/lint/lint-malformed.rs new file mode 100644 index 000000000..188e702f9 --- /dev/null +++ b/tests/ui/lint/lint-malformed.rs @@ -0,0 +1,6 @@ +#![deny = "foo"] //~ ERROR malformed `deny` attribute input +#![allow(bar = "baz")] //~ ERROR malformed lint attribute + //~| ERROR malformed lint attribute + //~| ERROR malformed lint attribute + //~| ERROR malformed lint attribute +fn main() { } |