From bd7ea5441ec6e447d8dae1e69de7ef4320a2aa4e Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Tue, 3 Mar 2020 15:07:04 -0800 Subject: Use `PredicateObligation`s instead of `Predicate`s Keep more information about trait binding failures. --- src/test/ui/iterators/bound.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui/iterators') 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); - | ------------------------- required by `S` + | - -------- required by this bound in `S` LL | struct T(S); | ^^^^^ `u8` is not an iterator | -- cgit 1.4.1-3-g733a5