diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-11-27 13:51:50 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-11-27 18:02:05 +0100 |
| commit | 7edaebaf6ab309bd4730988ac5978c42a9159fea (patch) | |
| tree | eb4ca1523607c65c9e4aa6ac07eb87657d9e4358 /src/librustc_error_codes/error_codes | |
| parent | ce696101c492964c31d5f368b27e6f2027af8f07 (diff) | |
| download | rust-7edaebaf6ab309bd4730988ac5978c42a9159fea.tar.gz rust-7edaebaf6ab309bd4730988ac5978c42a9159fea.zip | |
Clean up E0091 long explanation
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0091.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0091.md b/src/librustc_error_codes/error_codes/E0091.md index 2a092402429..03cb3280371 100644 --- a/src/librustc_error_codes/error_codes/E0091.md +++ b/src/librustc_error_codes/error_codes/E0091.md @@ -1,5 +1,6 @@ -You gave an unnecessary type or const parameter in a type alias. Erroneous -code example: +An unnecessary type or const parameter was given in a type alias. + +Erroneous code example: ```compile_fail,E0091 type Foo<T> = u32; // error: type parameter `T` is unused |
