We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf5d3e3 commit 647b722Copy full SHA for 647b722
tests/ui/suggestions/suggest-remove-refs-5.stderr
@@ -2,7 +2,7 @@ error[E0277]: `Vec<i32>` is not an iterator
2
--> $DIR/suggest-remove-refs-5.rs:4:14
3
|
4
LL | for _ in &mut &mut v {}
5
- | ^^^^^^^^^^^ `Vec<i32>` is not an iterator; try calling `.into_iter()` or `.iter()`
+ | ^^^^^^^^^^^ `Vec<i32>` is not an iterator
6
7
= help: the trait `Iterator` is not implemented for `Vec<i32>`
8
= note: required for `&mut Vec<i32>` to implement `Iterator`
0 commit comments