summary refs log tree commit diff
path: root/src/test/ui/lint/cli-unknown-force-warn.rs
blob: 55544cc73781a6dd86700b8dccfd2bc71cae4d9a (plain)
1
2
3
4
5
6
7
// Checks that rustc correctly errors when passed an invalid lint with
// `--force-warn`. This is a regression test for issue #86958.
//
// compile-flags: -Z unstable-options --force-warn foo-qux
// error-pattern: unknown lint: `foo_qux`

fn main() {}