1 error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
2 --> $DIR/issue-67185-2.rs:12:1
7 LL | | [<u8 as Baz>::Quaks; 2]: Bar,
8 LL | | <u8 as Baz>::Quaks: Bar,
11 | |_^ the trait `Bar` is not implemented for `[u16; 3]`
13 = help: the following implementations were found:
14 <[[u16; 3]; 3] as Bar>
16 = help: see issue #48214
17 = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
19 error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
20 --> $DIR/issue-67185-2.rs:12:1
25 LL | | [<u8 as Baz>::Quaks; 2]: Bar,
26 LL | | <u8 as Baz>::Quaks: Bar,
29 | |_^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
31 = help: the following implementations were found:
32 <[[u16; 3]; 3] as Bar>
34 = help: see issue #48214
35 = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
37 error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
38 --> $DIR/issue-67185-2.rs:22:6
40 LL | impl Foo for FooImpl {}
41 | ^^^ the trait `Bar` is not implemented for `[u16; 3]`
43 = help: the following implementations were found:
44 <[[u16; 3]; 3] as Bar>
46 note: required by a bound in `Foo`
47 --> $DIR/issue-67185-2.rs:16:29
50 | --- required by a bound in this
52 LL | <u8 as Baz>::Quaks: Bar,
53 | ^^^ required by this bound in `Foo`
55 error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
56 --> $DIR/issue-67185-2.rs:22:6
58 LL | impl Foo for FooImpl {}
59 | ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
61 = help: the following implementations were found:
62 <[[u16; 3]; 3] as Bar>
64 note: required by a bound in `Foo`
65 --> $DIR/issue-67185-2.rs:15:34
68 | --- required by a bound in this
70 LL | [<u8 as Baz>::Quaks; 2]: Bar,
71 | ^^^ required by this bound in `Foo`
73 error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
74 --> $DIR/issue-67185-2.rs:26:14
76 LL | fn f(_: impl Foo) {}
77 | ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
79 = help: the following implementations were found:
80 <[[u16; 3]; 3] as Bar>
82 note: required by a bound in `Foo`
83 --> $DIR/issue-67185-2.rs:15:34
86 | --- required by a bound in this
88 LL | [<u8 as Baz>::Quaks; 2]: Bar,
89 | ^^^ required by this bound in `Foo`
91 error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
92 --> $DIR/issue-67185-2.rs:26:14
94 LL | fn f(_: impl Foo) {}
95 | ^^^ the trait `Bar` is not implemented for `[u16; 3]`
97 = help: the following implementations were found:
98 <[[u16; 3]; 3] as Bar>
100 note: required by a bound in `Foo`
101 --> $DIR/issue-67185-2.rs:16:29
104 | --- required by a bound in this
106 LL | <u8 as Baz>::Quaks: Bar,
107 | ^^^ required by this bound in `Foo`
109 error: aborting due to 6 previous errors
111 For more information about this error, try `rustc --explain E0277`.