]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/cli-unknown-force-warn.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[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() {}