rust/tests/ui/unevaluated_fixed_size_array_len.stderr

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

12 lines
390 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
2023-08-25 13:28:34 -05:00
--> $DIR/unevaluated_fixed_size_array_len.rs:12:6
|
2019-03-09 06:03:44 -06:00
LL | <[(); 0] as Foo>::foo()
2023-08-25 13:28:34 -05:00
| ^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
|
= help: the trait `Foo` is implemented for `[(); 1]`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.