fork/rust

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

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

master
620 B20 linesraw
1error[E0277]: the trait bound `(): Foo<N>` is not satisfied
2  --> $DIR/exhaustive-value.rs:262:6
3   |
4LL |     <() as Foo<N>>::test()
5   |      ^^ the trait `Foo<N>` is not implemented for `()`
6   |
7   = help: the following other types implement trait `Foo<N>`:
8             <() as Foo<0>>
9             <() as Foo<1>>
10             <() as Foo<2>>
11             <() as Foo<3>>
12             <() as Foo<4>>
13             <() as Foo<5>>
14             <() as Foo<6>>
15             <() as Foo<7>>
16           and 248 others
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0277`.