]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/assoc-type-in-type-arg.stderr
Auto merge of #100678 - GuillaumeGomez:improve-rustdoc-json-tests, r=aDotInTheVoid
[rust.git] / src / test / ui / parser / assoc-type-in-type-arg.stderr
1 error: bounds on associated types do not belong here
2   --> $DIR/assoc-type-in-type-arg.rs:5:26
3    |
4 LL | struct Bar<'a, Item: Tr, <Item as Tr>::TrSubtype: 'a> {
5    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ belongs in `where` clause
6
7 error: aborting due to previous error
8