Tweak type argument after assoc type error

This commit is contained in:
Esteban Küber 2019-01-11 21:45:24 -08:00
parent 8119017746
commit de3c4be099
2 changed files with 10 additions and 3 deletions

View file

@ -2,7 +2,7 @@ error: type parameters must be declared prior to associated type bindings
--> $DIR/issue-32214.rs:5:34
|
LL | pub fn test<W, I: Trait<Item=(), W> >() {}
| ^
| ^ must be declared prior to associated type bindings
error: aborting due to previous error