test: Fix botched error message in compile-fail test

This commit is contained in:
Patrick Walton 2013-03-26 23:31:56 -07:00
parent b07b36bbf3
commit 2888563510

View file

@ -17,7 +17,7 @@ struct yes1<'self> {
}
struct yes2<'self> {
x: &'foo uint, //~ ERROR Illegal lifetime 'foo: this lifetime must be declared
x: &'foo uint, //~ ERROR Illegal lifetime 'foo: only 'self is allowed
}
fn main() {}