rust/tests/ui/consts/missing-larger-array-impl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
590 B
Plaintext
Raw Normal View History

error[E0277]: the trait bound `[X; 35]: Default` is not satisfied
2023-08-25 13:28:34 -05:00
--> $DIR/missing-larger-array-impl.rs:7:6
|
LL | <[X; 35] as Default>::default();
2023-08-25 13:28:34 -05:00
| ^^^^^^^ 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 previous error
For more information about this error, try `rustc --explain E0277`.