]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/issues/issue-90315.stderr
move an `assert!` to the right place
[rust.git] / src / test / ui / methods / issues / issue-90315.stderr
1 error[E0599]: `usize` is not an iterator
2   --> $DIR/issue-90315.rs:3:26
3    |
4 LL |   for _i in 0..arr.len().rev() {
5    |                          ^^^ `usize` is not an iterator
6    |
7    = note: the following trait bounds were not satisfied:
8            `usize: Iterator`
9            which is required by `&mut usize: Iterator`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0599`.