summaryrefslogtreecommitdiffstats
path: root/src/test/ui/methods/issues/issue-90315.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/methods/issues/issue-90315.stderr')
-rw-r--r--src/test/ui/methods/issues/issue-90315.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/methods/issues/issue-90315.stderr b/src/test/ui/methods/issues/issue-90315.stderr
new file mode 100644
index 000000000..c6a76c9e7
--- /dev/null
+++ b/src/test/ui/methods/issues/issue-90315.stderr
@@ -0,0 +1,13 @@
+error[E0599]: `usize` is not an iterator
+ --> $DIR/issue-90315.rs:3:26
+ |
+LL | for _i in 0..arr.len().rev() {
+ | ^^^ `usize` is not an iterator
+ |
+ = note: the following trait bounds were not satisfied:
+ `usize: Iterator`
+ which is required by `&mut usize: Iterator`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0599`.