From 2220eb4d8a06cae7c23b733dee17ebad477cca25 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 24 May 2020 12:52:45 +0200 Subject: [PATCH] Clean up E0602 explanation --- src/librustc_error_codes/error_codes/E0602.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_error_codes/error_codes/E0602.md b/src/librustc_error_codes/error_codes/E0602.md index ca7138a60cc4e..dcaf251a96b5b 100644 --- a/src/librustc_error_codes/error_codes/E0602.md +++ b/src/librustc_error_codes/error_codes/E0602.md @@ -1,9 +1,9 @@ An unknown lint was used on the command line. -Erroneous example: +Erroneous code example: ```sh -rustc -D bogus omse_file.rs +rustc -D bogus rust_file.rs ``` Maybe you just misspelled the lint name or the lint doesn't exist anymore.