From 16d935e72582ad833aed735022cdf3808b229e79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Esteban=20K=C3=BCber?= Date: Sun, 2 Feb 2020 12:50:07 -0800 Subject: [PATCH] fix rebase --- .../bad-bounds-on-assoc-in-trait.stderr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/ui/associated-type-bounds/bad-bounds-on-assoc-in-trait.stderr b/src/test/ui/associated-type-bounds/bad-bounds-on-assoc-in-trait.stderr index 5713e259362..efd5a92a4fc 100644 --- a/src/test/ui/associated-type-bounds/bad-bounds-on-assoc-in-trait.stderr +++ b/src/test/ui/associated-type-bounds/bad-bounds-on-assoc-in-trait.stderr @@ -7,7 +7,7 @@ LL | impl Case1 for S1 { = help: the trait `for<'a> std::fmt::Debug` is not implemented for `>::App` error[E0277]: `<::C as std::iter::Iterator>::Item` is not an iterator - --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1 + --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20 | LL | fn assume_case1() { | ^^^^^ - help: consider further restricting the associated type: `where <::C as std::iter::Iterator>::Item: std::iter::Iterator` @@ -17,7 +17,7 @@ LL | fn assume_case1() { = help: the trait `std::iter::Iterator` is not implemented for `<::C as std::iter::Iterator>::Item` error[E0277]: `<::C as std::iter::Iterator>::Item` cannot be sent between threads safely - --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1 + --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20 | LL | trait Case1 { | ----------- required by `Case1` @@ -30,7 +30,7 @@ LL | fn assume_case1() { = help: the trait `std::marker::Send` is not implemented for `<::C as std::iter::Iterator>::Item` error[E0277]: `<::C as std::iter::Iterator>::Item` cannot be shared between threads safely - --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1 + --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20 | LL | trait Case1 { | ----------- required by `Case1` @@ -43,7 +43,7 @@ LL | fn assume_case1() { = help: the trait `std::marker::Sync` is not implemented for `<::C as std::iter::Iterator>::Item` error[E0277]: `<_ as Lam<&'a u8>>::App` doesn't implement `std::fmt::Debug` - --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1 + --> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20 | LL | trait Case1 { | ----------- required by `Case1` -- 2.44.0