11error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
2- --> $DIR/issue-67185-2.rs:12:1
2+ --> $DIR/issue-67185-2.rs:15:5
33 |
4- LL | / trait Foo
5- LL | |
6- LL | | where
7- LL | | [<u8 as Baz>::Quaks; 2]: Bar,
8- LL | | <u8 as Baz>::Quaks: Bar,
9- LL | | {
10- LL | | }
11- | |_^ the trait `Bar` is not implemented for `[u16; 3]`
4+ LL | <u8 as Baz>::Quaks: Bar,
5+ | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[u16; 3]`
126 |
137 = help: the following implementations were found:
148 <[[u16; 3]; 3] as Bar>
@@ -17,16 +11,10 @@ LL | | }
1711 = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
1812
1913error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
20- --> $DIR/issue-67185-2.rs:12:1
14+ --> $DIR/issue-67185-2.rs:14:5
2115 |
22- LL | / trait Foo
23- LL | |
24- LL | | where
25- LL | | [<u8 as Baz>::Quaks; 2]: Bar,
26- LL | | <u8 as Baz>::Quaks: Bar,
27- LL | | {
28- LL | | }
29- | |_^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
16+ LL | [<u8 as Baz>::Quaks; 2]: Bar,
17+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
3018 |
3119 = help: the following implementations were found:
3220 <[[u16; 3]; 3] as Bar>
@@ -35,7 +23,7 @@ LL | | }
3523 = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
3624
3725error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
38- --> $DIR/issue-67185-2.rs:22 :6
26+ --> $DIR/issue-67185-2.rs:21 :6
3927 |
4028LL | impl Foo for FooImpl {}
4129 | ^^^ the trait `Bar` is not implemented for `[u16; 3]`
@@ -44,16 +32,16 @@ LL | impl Foo for FooImpl {}
4432 <[[u16; 3]; 3] as Bar>
4533 <[u16; 4] as Bar>
4634note: required by a bound in `Foo`
47- --> $DIR/issue-67185-2.rs:16:29
35+ --> $DIR/issue-67185-2.rs:15:25
4836 |
4937LL | trait Foo
5038 | --- required by a bound in this
5139...
52- LL | <u8 as Baz>::Quaks: Bar,
53- | ^^^ required by this bound in `Foo`
40+ LL | <u8 as Baz>::Quaks: Bar,
41+ | ^^^ required by this bound in `Foo`
5442
5543error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
56- --> $DIR/issue-67185-2.rs:22 :6
44+ --> $DIR/issue-67185-2.rs:21 :6
5745 |
5846LL | impl Foo for FooImpl {}
5947 | ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
@@ -62,16 +50,16 @@ LL | impl Foo for FooImpl {}
6250 <[[u16; 3]; 3] as Bar>
6351 <[u16; 4] as Bar>
6452note: required by a bound in `Foo`
65- --> $DIR/issue-67185-2.rs:15:34
53+ --> $DIR/issue-67185-2.rs:14:30
6654 |
6755LL | trait Foo
6856 | --- required by a bound in this
69- ...
70- LL | [<u8 as Baz>::Quaks; 2]: Bar,
71- | ^^^ required by this bound in `Foo`
57+ LL | where
58+ LL | [<u8 as Baz>::Quaks; 2]: Bar,
59+ | ^^^ required by this bound in `Foo`
7260
7361error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
74- --> $DIR/issue-67185-2.rs:26 :14
62+ --> $DIR/issue-67185-2.rs:25 :14
7563 |
7664LL | fn f(_: impl Foo) {}
7765 | ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
@@ -80,16 +68,16 @@ LL | fn f(_: impl Foo) {}
8068 <[[u16; 3]; 3] as Bar>
8169 <[u16; 4] as Bar>
8270note: required by a bound in `Foo`
83- --> $DIR/issue-67185-2.rs:15:34
71+ --> $DIR/issue-67185-2.rs:14:30
8472 |
8573LL | trait Foo
8674 | --- required by a bound in this
87- ...
88- LL | [<u8 as Baz>::Quaks; 2]: Bar,
89- | ^^^ required by this bound in `Foo`
75+ LL | where
76+ LL | [<u8 as Baz>::Quaks; 2]: Bar,
77+ | ^^^ required by this bound in `Foo`
9078
9179error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
92- --> $DIR/issue-67185-2.rs:26 :14
80+ --> $DIR/issue-67185-2.rs:25 :14
9381 |
9482LL | fn f(_: impl Foo) {}
9583 | ^^^ the trait `Bar` is not implemented for `[u16; 3]`
@@ -98,13 +86,13 @@ LL | fn f(_: impl Foo) {}
9886 <[[u16; 3]; 3] as Bar>
9987 <[u16; 4] as Bar>
10088note: required by a bound in `Foo`
101- --> $DIR/issue-67185-2.rs:16:29
89+ --> $DIR/issue-67185-2.rs:15:25
10290 |
10391LL | trait Foo
10492 | --- required by a bound in this
10593...
106- LL | <u8 as Baz>::Quaks: Bar,
107- | ^^^ required by this bound in `Foo`
94+ LL | <u8 as Baz>::Quaks: Bar,
95+ | ^^^ required by this bound in `Foo`
10896
10997error: aborting due to 6 previous errors
11098
0 commit comments