Skip to content

Commit b175642

Browse files
committed
Fix missed rename
1 parent b7ee868 commit b175642

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

tests/ui/unnecessary_lazy_eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

tests/ui/unnecessary_lazy_eval.stderr

+1-9
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,5 @@ error: unnecessary closure used to substitute value for `Result::Err`
144144
LL | 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

0 commit comments

Comments
 (0)