Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
()
{
}