diff options
Diffstat (limited to 'tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs')
-rw-r--r-- | tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs b/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs new file mode 100644 index 000000000..3778291eb --- /dev/null +++ b/tests/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() {} |