mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Fix missed rename
This commit is contained in:
parent
b7ee8685ac
commit
b175642a85
2 changed files with 2 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
// run-rustfix
|
||||
#![warn(clippy::unnecessary_lazy_eval)]
|
||||
#![warn(clippy::unnecessary_lazy_evaluation)]
|
||||
#![allow(clippy::redundant_closure)]
|
||||
#![allow(clippy::bind_instead_of_map)]
|
||||
|
||||
|
|
|
@ -144,13 +144,5 @@ error: unnecessary closure used to substitute value for `Result::Err`
|
|||
LL | let _ = res2.unwrap_or_else(|_| ext_str.some_field);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Use `unwrap_or` instead: `res2.unwrap_or(ext_str.some_field)`
|
||||
|
||||
error: unknown clippy lint: clippy::unnecessary_lazy_eval
|
||||
--> $DIR/unnecessary_lazy_eval.rs:2:9
|
||||
|
|
||||
LL | #![warn(clippy::unnecessary_lazy_eval)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unnecessary_lazy_evaluation`
|
||||
|
|
||||
= note: `-D clippy::unknown-clippy-lints` implied by `-D warnings`
|
||||
|
||||
error: aborting due to 25 previous errors
|
||||
error: aborting due to 24 previous errors
|
||||
|
||||
|
|
Loading…
Reference in a new issue