diff options
Diffstat (limited to 'src/test/ui/traits/associated_type_bound/check-trait-object-bounds-5.stderr')
-rw-r--r-- | src/test/ui/traits/associated_type_bound/check-trait-object-bounds-5.stderr | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-5.stderr b/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-5.stderr index 4251c1a1e..00fdb3753 100644 --- a/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-5.stderr +++ b/src/test/ui/traits/associated_type_bound/check-trait-object-bounds-5.stderr @@ -1,8 +1,10 @@ error[E0271]: type mismatch resolving `<i32 as Is>::T == i64` - --> $DIR/check-trait-object-bounds-5.rs:23:5 + --> $DIR/check-trait-object-bounds-5.rs:23:12 | LL | is_obj(x) - | ^^^^^^ type mismatch resolving `<i32 as Is>::T == i64` + | ------ ^ type mismatch resolving `<i32 as Is>::T == i64` + | | + | required by a bound introduced by this call | note: expected this to be `i64` --> $DIR/check-trait-object-bounds-5.rs:9:14 |