]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/cli-unknown-force-warn.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[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() {}