Rollup merge of #75217 - GuillaumeGomez:cleanup-e0747, r=Dylan-DPC
Clean up E0747 explanation r? @Dylan-DPC
This commit is contained in:
commit
76086a2d76
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
Generic arguments must be provided in the same order as the corresponding
|
||||
Generic arguments were not provided in the same order as the corresponding
|
||||
generic parameters are declared.
|
||||
|
||||
Erroneous code example:
|
||||
|
@ -11,7 +11,7 @@ type X = S<(), 'static>; // error: the type argument is provided before the
|
|||
```
|
||||
|
||||
The argument order should be changed to match the parameter declaration
|
||||
order, as in the following.
|
||||
order, as in the following:
|
||||
|
||||
```
|
||||
struct S<'a, T>(&'a T);
|
||||
|
|
Loading…
Add table
Reference in a new issue