Commit 8cb94fc5 authored by bors's avatar bors

Auto merge of #74246 - GuillaumeGomez:cleanup-e0719, r=Dylan-DPC

Clean up E0719 explanation

r? @Dylan-DPC
parents f06e8e15 2ba68f18
The value for an associated type has already been specified.
An associated type value was specified more than once.
Erroneous code example:
......@@ -25,7 +25,7 @@ trait FooTrait {}
trait BarTrait {}
trait FooBarTrait: FooTrait + BarTrait {}
struct Foo<T: Iterator<Item: FooBarTrait>> { f: T }
struct Foo<T: Iterator<Item: FooBarTrait>> { f: T } // ok!
```
For more information about associated types, see [the book][bk-at]. For more
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment