2020-01-03 23:54:19 -06:00
|
|
|
error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:15:5
|
2020-01-03 23:54:19 -06:00
|
|
|
|
|
2021-11-13 16:56:22 -06:00
|
|
|
LL | <u8 as Baz>::Quaks: Bar,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[u16; 3]`
|
2020-01-03 23:54:19 -06:00
|
|
|
|
|
2022-03-26 20:49:01 -05:00
|
|
|
= help: the following other types implement trait `Bar`:
|
|
|
|
[[u16; 3]; 3]
|
|
|
|
[u16; 4]
|
2020-01-03 23:54:19 -06:00
|
|
|
= help: see issue #48214
|
|
|
|
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:14:5
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2021-11-13 16:56:22 -06:00
|
|
|
LL | [<u8 as Baz>::Quaks; 2]: Bar,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2022-03-26 20:49:01 -05:00
|
|
|
= help: the following other types implement trait `Bar`:
|
|
|
|
[[u16; 3]; 3]
|
|
|
|
[u16; 4]
|
2020-01-03 23:54:19 -06:00
|
|
|
= help: see issue #48214
|
|
|
|
= help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
|
2020-01-03 18:42:02 -06:00
|
|
|
|
2020-01-03 23:54:19 -06:00
|
|
|
error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:21:6
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
|
|
|
LL | impl Foo for FooImpl {}
|
2020-01-03 23:54:19 -06:00
|
|
|
| ^^^ the trait `Bar` is not implemented for `[u16; 3]`
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2022-03-26 20:49:01 -05:00
|
|
|
= help: the following other types implement trait `Bar`:
|
|
|
|
[[u16; 3]; 3]
|
|
|
|
[u16; 4]
|
2021-07-31 11:26:55 -05:00
|
|
|
note: required by a bound in `Foo`
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:15:25
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2020-05-05 15:47:54 -05:00
|
|
|
LL | trait Foo
|
2023-02-20 23:21:07 -06:00
|
|
|
| --- required by a bound in this trait
|
2020-05-05 15:47:54 -05:00
|
|
|
...
|
2021-11-13 16:56:22 -06:00
|
|
|
LL | <u8 as Baz>::Quaks: Bar,
|
|
|
|
| ^^^ required by this bound in `Foo`
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:21:6
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
2020-01-03 18:42:02 -06:00
|
|
|
LL | impl Foo for FooImpl {}
|
2020-01-03 23:54:19 -06:00
|
|
|
| ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2022-03-26 20:49:01 -05:00
|
|
|
= help: the following other types implement trait `Bar`:
|
|
|
|
[[u16; 3]; 3]
|
|
|
|
[u16; 4]
|
2021-07-31 11:26:55 -05:00
|
|
|
note: required by a bound in `Foo`
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:14:30
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2020-05-05 15:47:54 -05:00
|
|
|
LL | trait Foo
|
2023-02-20 23:21:07 -06:00
|
|
|
| --- required by a bound in this trait
|
2021-11-13 16:56:22 -06:00
|
|
|
LL | where
|
|
|
|
LL | [<u8 as Baz>::Quaks; 2]: Bar,
|
|
|
|
| ^^^ required by this bound in `Foo`
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:25:14
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
2020-05-05 15:47:54 -05:00
|
|
|
LL | fn f(_: impl Foo) {}
|
|
|
|
| ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2022-03-26 20:49:01 -05:00
|
|
|
= help: the following other types implement trait `Bar`:
|
|
|
|
[[u16; 3]; 3]
|
|
|
|
[u16; 4]
|
2021-07-31 11:26:55 -05:00
|
|
|
note: required by a bound in `Foo`
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:14:30
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2020-05-05 15:47:54 -05:00
|
|
|
LL | trait Foo
|
2023-02-20 23:21:07 -06:00
|
|
|
| --- required by a bound in this trait
|
2021-11-13 16:56:22 -06:00
|
|
|
LL | where
|
|
|
|
LL | [<u8 as Baz>::Quaks; 2]: Bar,
|
|
|
|
| ^^^ required by this bound in `Foo`
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:25:14
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
2020-05-05 15:47:54 -05:00
|
|
|
LL | fn f(_: impl Foo) {}
|
|
|
|
| ^^^ the trait `Bar` is not implemented for `[u16; 3]`
|
2020-01-03 18:42:02 -06:00
|
|
|
|
|
2022-03-26 20:49:01 -05:00
|
|
|
= help: the following other types implement trait `Bar`:
|
|
|
|
[[u16; 3]; 3]
|
|
|
|
[u16; 4]
|
2021-07-31 11:26:55 -05:00
|
|
|
note: required by a bound in `Foo`
|
2021-11-13 16:56:22 -06:00
|
|
|
--> $DIR/issue-67185-2.rs:15:25
|
2021-07-31 11:26:55 -05:00
|
|
|
|
|
|
|
|
LL | trait Foo
|
2023-02-20 23:21:07 -06:00
|
|
|
| --- required by a bound in this trait
|
2021-07-31 11:26:55 -05:00
|
|
|
...
|
2021-11-13 16:56:22 -06:00
|
|
|
LL | <u8 as Baz>::Quaks: Bar,
|
|
|
|
| ^^^ required by this bound in `Foo`
|
2020-01-03 18:42:02 -06:00
|
|
|
|
2020-09-09 06:28:41 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2020-01-03 18:42:02 -06:00
|
|
|
|
2020-01-03 23:54:19 -06:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|