Skip to content

Commit

Permalink
Clean up E0091 long explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 27, 2019
1 parent ce69610 commit 7edaeba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 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
Expand Down

0 comments on commit 7edaeba

Please sign in to comment.