about summary refs log tree commit diff
path: root/src/test/ui/iterators
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-03-03 15:07:04 -0800
committerEsteban Küber <esteban@kuber.com.ar>2020-04-08 14:40:45 -0700
commitbd7ea5441ec6e447d8dae1e69de7ef4320a2aa4e (patch)
treeee02aacbe98954838effb64a4d3929cec7f76be9 /src/test/ui/iterators
parent485c5fb6e1bf12cd11a8fac5ee94962e17cff74b (diff)
downloadrust-bd7ea5441ec6e447d8dae1e69de7ef4320a2aa4e.tar.gz
rust-bd7ea5441ec6e447d8dae1e69de7ef4320a2aa4e.zip
Use `PredicateObligation`s instead of `Predicate`s
Keep more information about trait binding failures.
Diffstat (limited to 'src/test/ui/iterators')
-rw-r--r--src/test/ui/iterators/bound.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/iterators/bound.stderr b/src/test/ui/iterators/bound.stderr
index 92a91ff4cb1..db5949b692c 100644
--- a/src/test/ui/iterators/bound.stderr
+++ b/src/test/ui/iterators/bound.stderr
@@ -2,7 +2,7 @@ error[E0277]: `u8` is not an iterator
   --> $DIR/bound.rs:2:10
    |
 LL | struct S<I: Iterator>(I);
-   | ------------------------- required by `S`
+   |        -    -------- required by this bound in `S`
 LL | struct T(S<u8>);
    |          ^^^^^ `u8` is not an iterator
    |