File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1
1
// run-rustfix
2
- #![ warn( clippy:: unnecessary_lazy_eval ) ]
2
+ #![ warn( clippy:: unnecessary_lazy_evaluation ) ]
3
3
#![ allow( clippy:: redundant_closure) ]
4
4
#![ allow( clippy:: bind_instead_of_map) ]
5
5
Original file line number Diff line number Diff line change @@ -144,13 +144,5 @@ error: unnecessary closure used to substitute value for `Result::Err`
144
144
LL | let _ = res2.unwrap_or_else(|_| ext_str.some_field);
145
145
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Use `unwrap_or` instead: `res2.unwrap_or(ext_str.some_field)`
146
146
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
156
148
You can’t perform that action at this time.
0 commit comments