2013-10-29 05:14:59 -05:00
|
|
|
// Test that anonymous lifetimes are not permitted in enum declarations
|
2012-04-18 23:26:25 -05:00
|
|
|
|
2013-10-29 05:14:59 -05:00
|
|
|
enum Foo {
|
2015-01-08 04:54:35 -06:00
|
|
|
Bar(&isize) //~ ERROR missing lifetime specifier
|
2013-03-06 21:09:17 -06:00
|
|
|
}
|
2012-04-18 23:26:25 -05:00
|
|
|
|
2013-02-14 13:47:00 -06:00
|
|
|
fn main() {}
|