We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f4b6bf commit bba8e69Copy full SHA for bba8e69
tests/ui/map_identity.stderr
@@ -1,5 +1,5 @@
1
error: unnecessary map of the identity function
2
- --> $DIR/map_identity.rs:8:29
+ --> $DIR/map_identity.rs:8:47
3
|
4
LL | let _: Vec<_> = x.iter().map(not_identity).map(|x| return x).collect();
5
| ^^^^^^^^^^^^^^^^^^ help: remove the call to `map`
0 commit comments