Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
error-codes
/
E0261.rs
blob: f05e09aa0da663422ae81f8a237cd9ce8df3711a [
file
] [
log
] [
blame
]
fn
foo
(
x
:
&
'
a str
)
{
}
//~ ERROR E0261
//~| undeclared lifetime
struct
Foo
{
x
:
&
'
a str
,
//~ ERROR E0261
//~| undeclared lifetime
}
fn
main
()
{}