trait Tr { type TrSubtype; } struct Bar<'a, Item: Tr, ::TrSubtype: 'a> { //~^ ERROR bounds on associated types do not belong here item: Item, item_sub: &'a ::TrSubtype, } fn main() {}