]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/assoc-type-in-type-arg.rs
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / parser / assoc-type-in-type-arg.rs
1 trait Tr {
2     type TrSubtype;
3 }
4
5 struct Bar<'a, Item: Tr, <Item as Tr>::TrSubtype: 'a> {
6     //~^ ERROR bounds on associated types do not belong here
7     item: Item,
8     item_sub: &'a <Item as Tr>::TrSubtype,
9 }
10
11 fn main() {}