diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-08-06 13:33:54 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-08-06 13:33:54 +0200 |
| commit | 57b517bf1ddc450983815646bdf003d71fd72840 (patch) | |
| tree | 37dd4d3bf0242e2c10bf71ba4582431338672652 | |
| parent | 3a92b9987abd01c4b7e59c870e85beb9dd4d4aa2 (diff) | |
| download | rust-57b517bf1ddc450983815646bdf003d71fd72840.tar.gz rust-57b517bf1ddc450983815646bdf003d71fd72840.zip | |
Clean up E0747 explanation
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0747.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0747.md b/src/librustc_error_codes/error_codes/E0747.md index df1afbfef46..caf7e0fba07 100644 --- a/src/librustc_error_codes/error_codes/E0747.md +++ b/src/librustc_error_codes/error_codes/E0747.md @@ -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); |
