diff options
Diffstat (limited to 'src/test/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs')
-rw-r--r-- | src/test/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs b/src/test/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs new file mode 100644 index 000000000..3778291eb --- /dev/null +++ b/src/test/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs @@ -0,0 +1,6 @@ +// check-pass +// compile-flags: -Wunknown_lints -Atest_unstable_lint +// error-pattern: unknown lint: `test_unstable_lint` +// error-pattern: the `test_unstable_lint` lint is unstable + +fn main() {} |