]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/cli-unknown-force-warn.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / cli-unknown-force-warn.rs
1 // Checks that rustc correctly errors when passed an invalid lint with
2 // `--force-warn`. This is a regression test for issue #86958.
3 //
4 // compile-flags: --force-warn foo-qux
5 // error-pattern: unknown lint: `foo_qux`
6
7 fn main() {}