We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a763836 commit 931b79eCopy full SHA for 931b79e
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