summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_error_codes/src/error_codes/E0602.md
blob: 7980b704cae6d1e09e067bdbed7cc7cb12352473 (plain)
1
2
3
4
5
6
7
8
9
10
An unknown or invalid lint was used on the command line.

Erroneous code example:

```sh
rustc -D bogus rust_file.rs
```

Maybe you just misspelled the lint name or the lint doesn't exist anymore.
Either way, try to update/remove it in order to fix the error.