File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 11// run-rustfix
2- #![ warn( clippy:: unnecessary_lazy_eval ) ]
2+ #![ warn( clippy:: unnecessary_lazy_evaluation ) ]
33#![ allow( clippy:: redundant_closure) ]
44#![ allow( clippy:: bind_instead_of_map) ]
55
Original file line number Diff line number Diff line change @@ -144,13 +144,5 @@ error: unnecessary closure used to substitute value for `Result::Err`
144144LL | let _ = res2.unwrap_or_else(|_| ext_str.some_field);
145145 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Use `unwrap_or` instead: `res2.unwrap_or(ext_str.some_field)`
146146
147- error: unknown clippy lint: clippy::unnecessary_lazy_eval
148- --> $DIR/unnecessary_lazy_eval.rs:2:9
149- |
150- LL | #![warn(clippy::unnecessary_lazy_eval)]
151- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::unnecessary_lazy_evaluation`
152- |
153- = note: `-D clippy::unknown-clippy-lints` implied by `-D warnings`
154-
155- error: aborting due to 25 previous errors
147+ error: aborting due to 24 previous errors
156148
You can’t perform that action at this time.
0 commit comments