]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0602.md
Rollup merge of #92310 - ehuss:rustdoc-ice, r=estebank
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0602.md
1 An unknown or invalid lint was used on the command line.
2
3 Erroneous code example:
4
5 ```sh
6 rustc -D bogus rust_file.rs
7 ```
8
9 Maybe you just misspelled the lint name or the lint doesn't exist anymore.
10 Either way, try to update/remove it in order to fix the error.