fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
3.2 KiB99 linesraw
1error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
2  --> $DIR/issue-67185-2.rs:15:5
3   |
4LL |     <u8 as Baz>::Quaks: Bar,
5   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[u16; 3]`
6   |
7   = help: the following other types implement trait `Bar`:
8             [u16; 4]
9             [[u16; 3]; 3]
10   = help: see issue #48214
11   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
12
13error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
14  --> $DIR/issue-67185-2.rs:14:5
15   |
16LL |     [<u8 as Baz>::Quaks; 2]: Bar,
17   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
18   |
19   = help: the following other types implement trait `Bar`:
20             [u16; 4]
21             [[u16; 3]; 3]
22   = help: see issue #48214
23   = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
24
25error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
26  --> $DIR/issue-67185-2.rs:21:6
27   |
28LL | impl Foo for FooImpl {}
29   |      ^^^ the trait `Bar` is not implemented for `[u16; 3]`
30   |
31   = help: the following other types implement trait `Bar`:
32             [u16; 4]
33             [[u16; 3]; 3]
34note: required by a bound in `Foo`
35  --> $DIR/issue-67185-2.rs:15:25
36   |
37LL | trait Foo
38   |       --- required by a bound in this trait
39...
40LL |     <u8 as Baz>::Quaks: Bar,
41   |                         ^^^ required by this bound in `Foo`
42
43error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
44  --> $DIR/issue-67185-2.rs:21:6
45   |
46LL | impl Foo for FooImpl {}
47   |      ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
48   |
49   = help: the following other types implement trait `Bar`:
50             [u16; 4]
51             [[u16; 3]; 3]
52note: required by a bound in `Foo`
53  --> $DIR/issue-67185-2.rs:14:30
54   |
55LL | trait Foo
56   |       --- required by a bound in this trait
57LL | where
58LL |     [<u8 as Baz>::Quaks; 2]: Bar,
59   |                              ^^^ required by this bound in `Foo`
60
61error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
62  --> $DIR/issue-67185-2.rs:25:14
63   |
64LL | fn f(_: impl Foo) {}
65   |              ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
66   |
67   = help: the following other types implement trait `Bar`:
68             [u16; 4]
69             [[u16; 3]; 3]
70note: required by a bound in `Foo`
71  --> $DIR/issue-67185-2.rs:14:30
72   |
73LL | trait Foo
74   |       --- required by a bound in this trait
75LL | where
76LL |     [<u8 as Baz>::Quaks; 2]: Bar,
77   |                              ^^^ required by this bound in `Foo`
78
79error[E0277]: the trait bound `[u16; 3]: Bar` is not satisfied
80  --> $DIR/issue-67185-2.rs:25:14
81   |
82LL | fn f(_: impl Foo) {}
83   |              ^^^ the trait `Bar` is not implemented for `[u16; 3]`
84   |
85   = help: the following other types implement trait `Bar`:
86             [u16; 4]
87             [[u16; 3]; 3]
88note: required by a bound in `Foo`
89  --> $DIR/issue-67185-2.rs:15:25
90   |
91LL | trait Foo
92   |       --- required by a bound in this trait
93...
94LL |     <u8 as Baz>::Quaks: Bar,
95   |                         ^^^ required by this bound in `Foo`
96
97error: aborting due to 6 previous errors
98
99For more information about this error, try `rustc --explain E0277`.