]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/exhaustive-value.stderr
Rollup merge of #107114 - Erk-:add-absolute-note-to-path-join, r=m-ou-se
[rust.git] / tests / ui / const-generics / exhaustive-value.stderr
1 error[E0277]: the trait bound `(): Foo<N>` is not satisfied
2   --> $DIR/exhaustive-value.rs:262:5
3    |
4 LL |     <() 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<100>>
10              <() as Foo<101>>
11              <() as Foo<102>>
12              <() as Foo<103>>
13              <() as Foo<104>>
14              <() as Foo<105>>
15              <() as Foo<106>>
16            and 248 others
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0277`.