diff options
| author | bishtpawan <pawan.bisht@knoldus.com> | 2020-03-24 19:06:08 +0530 |
|---|---|---|
| committer | bishtpawan <pawan.bisht@knoldus.com> | 2020-03-24 19:06:08 +0530 |
| commit | b31707e683ba90548d4830929ae721bc4dbaf13e (patch) | |
| tree | 3bc793dd3e29c2ea8bedba7b6171d6af5cf51dd1 /src/librustc_error_codes/error_codes | |
| parent | 150916047beaae94096d2fdc95b88fbdb837f242 (diff) | |
| download | rust-b31707e683ba90548d4830929ae721bc4dbaf13e.tar.gz rust-b31707e683ba90548d4830929ae721bc4dbaf13e.zip | |
Remove unknown lint from deny attribute
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0710.md | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/librustc_error_codes/error_codes/E0710.md b/src/librustc_error_codes/error_codes/E0710.md index 6f2dfcd2323..d9cefe2a6da 100644 --- a/src/librustc_error_codes/error_codes/E0710.md +++ b/src/librustc_error_codes/error_codes/E0710.md @@ -16,15 +16,6 @@ fn main() { } ``` -```compile_fail,E0710 -fn main() { - #![deny(clipp::filter_map)] //error! - fn filter() { - //logic - } -} -``` - Please verify you didn't misspell the tool's name or that you didn't forget to import it in you project: @@ -41,12 +32,3 @@ fn main() { // business logic } ``` - -``` -fn main() { - #![deny(clippy::filter_map)] // ok! - fn filter() { - //logic - } -} -``` |
