Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
parser
/
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
()
{}