Skip to content

Commit 76086a2

Browse files
authored
Rollup merge of #75217 - GuillaumeGomez:cleanup-e0747, r=Dylan-DPC
Clean up E0747 explanation r? @Dylan-DPC
2 parents 26705d5 + 57b517b commit 76086a2

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-2
lines changed

src/librustc_error_codes/error_codes/E0747.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Generic arguments must be provided in the same order as the corresponding
1+
Generic arguments were not provided in the same order as the corresponding
22
generic parameters are declared.
33

44
Erroneous code example:
@@ -11,7 +11,7 @@ type X = S<(), 'static>; // error: the type argument is provided before the
1111
```
1212

1313
The argument order should be changed to match the parameter declaration
14-
order, as in the following.
14+
order, as in the following:
1515

1616
```
1717
struct S<'a, T>(&'a T);

0 commit comments

Comments
 (0)