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