about summary refs log tree commit diff
path: root/src/test/ui/range
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/range')
-rw-r--r--src/test/ui/range/range-1.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/range/range-1.stderr b/src/test/ui/range/range-1.stderr
index e380e5b2f91..2cebffec990 100644
--- a/src/test/ui/range/range-1.stderr
+++ b/src/test/ui/range/range-1.stderr
@@ -11,13 +11,15 @@ LL |     for i in false..true {}
    |              ^^^^^^^^^^^ the trait `Step` is not implemented for `bool`
    |
    = note: required because of the requirements on the impl of `Iterator` for `std::ops::Range<bool>`
+   = note: required because of the requirements on the impl of `IntoIterator` for `std::ops::Range<bool>`
+   = note: required by `into_iter`
 
 error[E0277]: the size for values of type `[{integer}]` cannot be known at compilation time
   --> $DIR/range-1.rs:14:17
    |
 LL |     let range = *arr..;
    |                 ^^^^^^ doesn't have a size known at compile-time
-   |
+   | 
   ::: $SRC_DIR/core/src/ops/range.rs:LL:COL
    |
 LL | pub struct RangeFrom<Idx> {