Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
regions
/
regions-in-enums-anon.rs
blob: da65cb791ec27c2f48903aa16e0c1624dcb889d2 [
file
] [
log
] [
blame
]
// Test that anonymous lifetimes are not permitted in enum declarations
enum
Foo
{
Bar
(&
isize
)
//~ ERROR missing lifetime specifier
}
fn
main
()
{}