Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
regions
/
regions-in-structs-anon.rs
blob: 7cb2ce0dbf3f449cb43b067d74f286bf7b94d574 [
file
] [
log
] [
blame
]
// Test that anonymous lifetimes are not permitted in struct declarations
struct
Foo
{
x
:
&
isize
//~ ERROR missing lifetime specifier
}
fn
main
()
{}