diff options
Diffstat (limited to 'tests/ui/lint/rfc-2383-lint-reason/root-attribute-confusion.rs')
-rw-r--r-- | tests/ui/lint/rfc-2383-lint-reason/root-attribute-confusion.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/lint/rfc-2383-lint-reason/root-attribute-confusion.rs b/tests/ui/lint/rfc-2383-lint-reason/root-attribute-confusion.rs new file mode 100644 index 000000000..0cade7fef --- /dev/null +++ b/tests/ui/lint/rfc-2383-lint-reason/root-attribute-confusion.rs @@ -0,0 +1,7 @@ +// check-pass +// compile-flags: -Dunused_attributes + +#![deny(unused_crate_dependencies)] +#![feature(lint_reasons)] + +fn main() {} |