Skip to content

Commit

Permalink
Rollup merge of #75217 - GuillaumeGomez:cleanup-e0747, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Clean up E0747 explanation

r? @Dylan-DPC
  • Loading branch information
JohnTitor authored Aug 7, 2020
2 parents 26705d5 + 57b517b commit 76086a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_error_codes/error_codes/E0747.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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);
Expand Down

0 comments on commit 76086a2

Please sign in to comment.