mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
21 lines
616 B
Plaintext
21 lines
616 B
Plaintext
![]() |
error[E0277]: the trait bound `[X; 35]: Default` is not satisfied
|
||
|
--> $DIR/missing-larger-array-impl.rs:7:5
|
||
|
|
|
||
|
LL | <[X; 35] as Default>::default();
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `[X; 35]`
|
||
|
|
|
||
|
= help: the following other types implement trait `Default`:
|
||
|
&[T]
|
||
|
&mut [T]
|
||
|
[T; 0]
|
||
|
[T; 10]
|
||
|
[T; 11]
|
||
|
[T; 12]
|
||
|
[T; 13]
|
||
|
[T; 14]
|
||
|
and 27 others
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0277`.
|