Skip to content
Permalink
Browse files

Clean up E0091 long explanation

  • Loading branch information
GuillaumeGomez committed Nov 27, 2019
1 parent ce69610 commit 7edaebaf6ab309bd4730988ac5978c42a9159fea
Showing with 3 additions and 2 deletions.
  1. +3 −2 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

0 comments on commit 7edaeba

Please sign in to comment.
You can’t perform that action at this time.