Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
parser
/
assoc
/
assoc-type-in-type-arg.rs
blob: 000956ea24fadb5c14d1dd352d6756464fcf276f [
file
] [
log
] [
blame
]
trait
Tr
{
type
TrSubtype
;
}
struct
Bar
<
'a, Item: Tr, <Item as Tr>::TrSubtype: '
a
>
{
//~^ ERROR bounds on associated types do not belong here
item
:
Item
,
item_sub
:
&
'
a
<
Item
as
Tr
>::
TrSubtype
,
}
fn
main
()
{}