1
Fork 0

Handle Self in paths too

This commit is contained in:
Michael Goulet 2023-08-25 18:28:34 +00:00
parent 055452864e
commit 13e8b13e15
12 changed files with 54 additions and 22 deletions

View file

@ -1,8 +1,8 @@
error[E0277]: the trait bound `[X; 35]: Default` is not satisfied
--> $DIR/missing-larger-array-impl.rs:7:5
--> $DIR/missing-larger-array-impl.rs:7:6
|
LL | <[X; 35] as Default>::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `[X; 35]`
| ^^^^^^^ the trait `Default` is not implemented for `[X; 35]`
|
= help: the following other types implement trait `Default`:
[T; 0]