Tweak wording
This commit is contained in:
parent
781e86477c
commit
20c622e456
4 changed files with 6 additions and 5 deletions
|
@ -2,7 +2,7 @@ error[E0220]: associated type `Assoc` not found for `V`
|
|||
--> $DIR/issue-96287.rs:7:33
|
||||
|
|
||||
LL | pub type Foo<V> = impl Trait<V::Assoc>;
|
||||
| ^^^^^ there is a similarly named associated type `Assoc` in the trait `TraitWithAssoc`
|
||||
| ^^^^^ there is an associated type `Assoc` in the trait `TraitWithAssoc`
|
||||
|
|
||||
help: consider restricting type parameter `V`
|
||||
|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue