diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-08-07 09:35:28 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 09:35:28 +0900 |
| commit | 76086a2d7676e412b3f6b5a55e3fe60dccb5fab8 (patch) | |
| tree | 2b0bb1e049c5d860cfee17fd78ba1e0583ca3da2 | |
| parent | 26705d5bcb2430ef7e8b491b5ec9ede4ef5b460b (diff) | |
| parent | 57b517bf1ddc450983815646bdf003d71fd72840 (diff) | |
| download | rust-76086a2d7676e412b3f6b5a55e3fe60dccb5fab8.tar.gz rust-76086a2d7676e412b3f6b5a55e3fe60dccb5fab8.zip | |
Rollup merge of #75217 - GuillaumeGomez:cleanup-e0747, r=Dylan-DPC
Clean up E0747 explanation r? @Dylan-DPC
| -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); |
