Skip to content

Commit 16d935e

Browse files
committed
fix rebase
1 parent 342db71 commit 16d935e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/ui/associated-type-bounds/bad-bounds-on-assoc-in-trait.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | impl Case1 for S1 {
77
= help: the trait `for<'a> std::fmt::Debug` is not implemented for `<L1 as Lam<&'a u8>>::App`
88

99
error[E0277]: `<<T as Case1>::C as std::iter::Iterator>::Item` is not an iterator
10-
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1
10+
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20
1111
|
1212
LL | fn assume_case1<T: Case1>() {
1313
| ^^^^^ - help: consider further restricting the associated type: `where <<T as Case1>::C as std::iter::Iterator>::Item: std::iter::Iterator`
@@ -17,7 +17,7 @@ LL | fn assume_case1<T: Case1>() {
1717
= help: the trait `std::iter::Iterator` is not implemented for `<<T as Case1>::C as std::iter::Iterator>::Item`
1818

1919
error[E0277]: `<<T as Case1>::C as std::iter::Iterator>::Item` cannot be sent between threads safely
20-
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1
20+
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20
2121
|
2222
LL | trait Case1 {
2323
| ----------- required by `Case1`
@@ -30,7 +30,7 @@ LL | fn assume_case1<T: Case1>() {
3030
= help: the trait `std::marker::Send` is not implemented for `<<T as Case1>::C as std::iter::Iterator>::Item`
3131

3232
error[E0277]: `<<T as Case1>::C as std::iter::Iterator>::Item` cannot be shared between threads safely
33-
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1
33+
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20
3434
|
3535
LL | trait Case1 {
3636
| ----------- required by `Case1`
@@ -43,7 +43,7 @@ LL | fn assume_case1<T: Case1>() {
4343
= help: the trait `std::marker::Sync` is not implemented for `<<T as Case1>::C as std::iter::Iterator>::Item`
4444

4545
error[E0277]: `<_ as Lam<&'a u8>>::App` doesn't implement `std::fmt::Debug`
46-
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:1
46+
--> $DIR/bad-bounds-on-assoc-in-trait.rs:36:20
4747
|
4848
LL | trait Case1 {
4949
| ----------- required by `Case1`

0 commit comments

Comments
 (0)