2023-06-24 18:03:20 +00:00
|
|
|
error[E0277]: the trait bound `[X; 35]: Default` is not satisfied
|
2023-08-25 18:28:34 +00:00
|
|
|
--> $DIR/missing-larger-array-impl.rs:7:6
|
2023-06-24 18:03:20 +00:00
|
|
|
|
|
|
|
|
LL | <[X; 35] as Default>::default();
|
2023-08-25 18:28:34 +00:00
|
|
|
| ^^^^^^^ the trait `Default` is not implemented for `[X; 35]`
|
2023-06-24 18:03:20 +00:00
|
|
|
|
|
|
|
|
= help: the following other types implement trait `Default`:
|
2024-03-21 12:55:28 +00:00
|
|
|
&[T]
|
|
|
|
&mut [T]
|
2023-06-24 18:03:20 +00:00
|
|
|
[T; 0]
|
2024-03-21 12:55:28 +00:00
|
|
|
[T; 10]
|
|
|
|
[T; 11]
|
|
|
|
[T; 12]
|
|
|
|
[T; 13]
|
|
|
|
[T; 14]
|
2023-06-24 18:03:20 +00:00
|
|
|
and 27 others
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-24 18:03:20 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|