diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-07-11 18:10:46 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-07-11 18:10:57 +0200 |
| commit | 2ba68f1888401577b1f60d8868fdac5a895ba698 (patch) | |
| tree | ce9512b9831edd91b4d67fd113c0d7aaa13eff3a | |
| parent | f844ea1e561475e6023282ef167e76bc973773ef (diff) | |
Clean up E0719 explanation
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0719.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0719.md b/src/librustc_error_codes/error_codes/E0719.md index 38bc63550ac..057a0b1645c 100644 --- a/src/librustc_error_codes/error_codes/E0719.md +++ b/src/librustc_error_codes/error_codes/E0719.md @@ -1,4 +1,4 @@ -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 |
