rust/tests/ui/unevaluated_fixed_size_array_len.stderr
2023-01-11 09:32:08 +00:00

12 lines
401 B
Plaintext

error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
--> $DIR/unevaluated_fixed_size_array_len.rs:12:5
|
LL | <[(); 0] as Foo>::foo()
| ^^^^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
|
= help: the trait `Foo` is implemented for `[(); 1]`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.