2021-07-08 21:35:26 -07:00
|
|
|
// Checks that rustc correctly errors when passed an invalid lint with
|
2021-07-21 15:40:52 +02:00
|
|
|
// `--force-warn`. This is a regression test for issue #86958.
|
2021-07-08 21:35:26 -07:00
|
|
|
//
|
2021-07-24 01:08:33 -07:00
|
|
|
// compile-flags: --force-warn foo-qux
|
2021-07-08 21:35:26 -07:00
|
|
|
// error-pattern: unknown lint: `foo_qux`
|
|
|
|
|
|
|
|
fn main() {}
|