1
Fork 0

Tweak wording

This commit is contained in:
Esteban Küber 2023-09-29 16:17:22 +00:00
parent 781e86477c
commit 20c622e456
4 changed files with 6 additions and 5 deletions

View file

@ -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`
|