Tweak type argument after assoc type error
This commit is contained in:
parent
8119017746
commit
de3c4be099
2 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue