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