Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
lint
/
cli-unknown-force-warn.rs
blob: f3dea87a6b69a1fccc2a66f9d000c3013d40aca4 [
file
] [
log
] [
blame
]
// Checks that rustc correctly errors when passed an invalid lint with
// `--force-warn`. This is a regression test for issue #86958.
//
// compile-flags: --force-warn foo-qux
// error-pattern: unknown lint: `foo_qux`
fn
main
()
{}