Handle Self in paths too
This commit is contained in:
parent
055452864e
commit
13e8b13e15
12 changed files with 54 additions and 22 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue