@@ -5,8 +5,8 @@ LL | <u8 as Baz>::Quaks: Bar,
55 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[u16; 3]`
66 |
77 = help: the following other types implement trait `Bar`:
8- [u16; 4]
98 [[u16; 3]; 3]
9+ [u16; 4]
1010 = help: see issue #48214
1111help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
1212 |
@@ -20,8 +20,8 @@ LL | [<u8 as Baz>::Quaks; 2]: Bar,
2020 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
2121 |
2222 = help: the following other types implement trait `Bar`:
23- [u16; 4]
2423 [[u16; 3]; 3]
24+ [u16; 4]
2525 = help: see issue #48214
2626help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
2727 |
@@ -35,8 +35,8 @@ LL | impl Foo for FooImpl {}
3535 | ^^^ the trait `Bar` is not implemented for `[u16; 3]`, which is required by `<u8 as Baz>::Quaks: Bar`
3636 |
3737 = help: the following other types implement trait `Bar`:
38- [u16; 4]
3938 [[u16; 3]; 3]
39+ [u16; 4]
4040note: required by a bound in `Foo`
4141 --> $DIR/issue-67185-2.rs:15:25
4242 |
@@ -53,8 +53,8 @@ LL | impl Foo for FooImpl {}
5353 | ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`, which is required by `[<u8 as Baz>::Quaks; 2]: Bar`
5454 |
5555 = help: the following other types implement trait `Bar`:
56- [u16; 4]
5756 [[u16; 3]; 3]
57+ [u16; 4]
5858note: required by a bound in `Foo`
5959 --> $DIR/issue-67185-2.rs:14:30
6060 |
@@ -71,8 +71,8 @@ LL | fn f(_: impl Foo) {}
7171 | ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
7272 |
7373 = help: the following other types implement trait `Bar`:
74- [u16; 4]
7574 [[u16; 3]; 3]
75+ [u16; 4]
7676note: required by a bound in `Foo`
7777 --> $DIR/issue-67185-2.rs:14:30
7878 |
@@ -89,8 +89,8 @@ LL | fn f(_: impl Foo) {}
8989 | ^^^ the trait `Bar` is not implemented for `[u16; 3]`
9090 |
9191 = help: the following other types implement trait `Bar`:
92- [u16; 4]
9392 [[u16; 3]; 3]
93+ [u16; 4]
9494note: required by a bound in `Foo`
9595 --> $DIR/issue-67185-2.rs:15:25
9696 |
0 commit comments