test: Fix botched error message in compile-fail test
This commit is contained in:
parent
b07b36bbf3
commit
2888563510
@ -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() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user