diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/lint/bad-lint-cap3.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/lint/bad-lint-cap3.rs b/src/test/ui/lint/bad-lint-cap3.rs new file mode 100644 index 000000000..c38105870 --- /dev/null +++ b/src/test/ui/lint/bad-lint-cap3.rs @@ -0,0 +1,9 @@ +// check-pass +// compile-flags: --cap-lints warn + +#![warn(unused)] +#![deny(warnings)] + +use std::option; //~ WARN + +fn main() {} |