mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
8 lines
232 B
Rust
8 lines
232 B
Rust
// 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() {}
|