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