mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
390 B
Text
11 lines
390 B
Text
error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
|
|
--> $DIR/unevaluated_fixed_size_array_len.rs:12:6
|
|
|
|
|
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 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|