Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
in-band-lifetimes
/
no_in_band_in_struct.rs
blob: 9b0c0cda77220a6fe002572db90bccf6d435117a [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
#![
feature
(
in_band_lifetimes
)]
struct
Foo
{
x
:
&
'
test u32
,
//~ ERROR undeclared lifetime
}
enum
Bar
{
Baz
(&
'
test u32
),
//~ ERROR undeclared lifetime
}
fn
main
()
{}