Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
wf
/
wf-impl-associated-type-region.rs
blob: 1bf8d3663440b2a524d6c9f4a99e8ff4b28c8ca2 [
file
] [
log
] [
blame
]
// Check that we require that associated types in an impl are well-formed.
pub
trait
Foo
<
'
a
>
{
type
Bar
;
}
impl
<
'a, T> Foo<'
a
>
for
T
{
type
Bar
=
&
'
a T
;
//~ ERROR E0309
}
fn
main
()
{
}