rust/tests/ui/const-generics/exhaustive-value.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
716 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `(): Foo<N>` is not satisfied
2023-08-26 14:25:46 -05:00
--> $DIR/exhaustive-value.rs:262:6
|
LL | <() as Foo<N>>::test()
2023-08-26 14:25:46 -05:00
| ^^ the trait `Foo<N>` is not implemented for `()`
|
= help: the following other types implement trait `Foo<N>`:
2024-06-07 09:54:42 -05:00
`()` implements `Foo<0>`
`()` implements `Foo<100>`
`()` implements `Foo<101>`
`()` implements `Foo<102>`
`()` implements `Foo<103>`
`()` implements `Foo<104>`
`()` implements `Foo<105>`
`()` implements `Foo<106>`
and 248 others
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.