2018-03-22 09:56:04 +01:00
|
|
|
error[E0277]: the trait bound `[(); 0]: Foo` is not satisfied
|
2023-08-25 18:28:34 +00:00
|
|
|
--> $DIR/unevaluated_fixed_size_array_len.rs:12:6
|
2018-03-22 09:56:04 +01:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | <[(); 0] as Foo>::foo()
|
2023-08-25 18:28:34 +00:00
|
|
|
| ^^^^^^^ the trait `Foo` is not implemented for `[(); 0]`
|
2018-03-22 09:56:04 +01:00
|
|
|
|
|
2021-12-13 20:56:40 +00:00
|
|
|
= help: the trait `Foo` is implemented for `[(); 1]`
|
2018-03-22 09:56:04 +01:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-03-22 09:56:04 +01:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|