diff options
| author | bishtpawan <pawan.bisht@knoldus.com> | 2020-03-24 13:03:01 +0530 |
|---|---|---|
| committer | bishtpawan <pawan.bisht@knoldus.com> | 2020-03-24 13:03:01 +0530 |
| commit | 03bb3bde90a52cfc1d64c15263013d97a3d7aad2 (patch) | |
| tree | 593b6f5003bcceef314dbb70f1047f5fe79a0a91 /src/librustc_error_codes/error_codes | |
| parent | 8ff785011be6625e32afceee3a08e5cff7470feb (diff) | |
| download | rust-03bb3bde90a52cfc1d64c15263013d97a3d7aad2.tar.gz rust-03bb3bde90a52cfc1d64c15263013d97a3d7aad2.zip | |
Add long error explanation for E0710 #61137
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0710.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes/E0710.md b/src/librustc_error_codes/error_codes/E0710.md new file mode 100644 index 00000000000..c0b58eb00f3 --- /dev/null +++ b/src/librustc_error_codes/error_codes/E0710.md @@ -0,0 +1,25 @@ +An unknown tool name found in scoped lint + +Erroneous code example: + +```compile_fail,E0710 +#[allow(clipp::filter_map)] // error: an unknown tool name found in scoped lint: `clipp::filter_map` + +fn main() { + /** + *business logic + */ +} +``` + +Please verify you didn't misspell the tool's name or that you didn't +forget to import it in you project: + +``` +#[allow(clippy::filter_map)] // ok! +fn main() { + /** + *business logic + */ +} +``` \ No newline at end of file |
