]>
git.proxmox.com Git - rustc.git/blob - src/test/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.
4 // compile-flags: --force-warn foo-qux
5 // error-pattern: unknown lint: `foo_qux`