diff options
| author | bors <bors@rust-lang.org> | 2020-07-25 20:11:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-25 20:11:20 +0000 |
| commit | 8cb94fc552dc200e19001b40767c0c279572c9de (patch) | |
| tree | 5800c8b7ff78647a4a988e3f68ce2fee52f2f858 | |
| parent | f06e8e157cc86538eacb76a65073787b0e46c396 (diff) | |
| parent | 2ba68f1888401577b1f60d8868fdac5a895ba698 (diff) | |
| download | rust-8cb94fc552dc200e19001b40767c0c279572c9de.tar.gz rust-8cb94fc552dc200e19001b40767c0c279572c9de.zip | |
Auto merge of #74246 - GuillaumeGomez:cleanup-e0719, r=Dylan-DPC
Clean up E0719 explanation r? @Dylan-DPC
| -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 |
