]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/exhaustive-value.stderr
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / 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 implementations were found:
8              <() as Foo<0_u8>>
9              <() as Foo<100_u8>>
10              <() as Foo<101_u8>>
11              <() as Foo<102_u8>>
12            and 252 others
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.