W3cubDocs

/Rust

Error code E0602

An unknown or invalid lint was used on the command line.

Erroneous code example:

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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0602.html