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