Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
error-codes
/
E0637.rs
blob: b4888d4af6a218a9498e626b813b19e6a76b2cdf [
file
] [
log
] [
blame
]
struct
Foo
<
'a: '
_
>(&
'
a u8
);
//~ ERROR cannot be used here
fn
foo
<
'a: '
_
>(
_
:
&
'
a u8
)
{}
//~ ERROR cannot be used here
struct
Bar
<
'a>(&'
a u8
);
impl
<
'a: '
_
>
Bar
<
'
a
>
{
//~ ERROR cannot be used here
fn
bar
()
{}
}
fn
main
()
{}