mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
21 lines
592 B
Plaintext
21 lines
592 B
Plaintext
error[E0277]: the trait bound `[X; 35]: Default` is not satisfied
|
|
--> $DIR/missing-larger-array-impl.rs:7:6
|
|
|
|
|
LL | <[X; 35] as Default>::default();
|
|
| ^^^^^^^ the trait `Default` is not implemented for `[X; 35]`
|
|
|
|
|
= help: the following other types implement trait `Default`:
|
|
[T; 0]
|
|
[T; 1]
|
|
[T; 2]
|
|
[T; 3]
|
|
[T; 4]
|
|
[T; 5]
|
|
[T; 6]
|
|
[T; 7]
|
|
and 27 others
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|