test: Fix botched error message in compile-fail test
This commit is contained in:
parent
b07b36bbf3
commit
2888563510
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ struct yes1<'self> {
|
||||||
}
|
}
|
||||||
|
|
||||||
struct yes2<'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() {}
|
fn main() {}
|
||||||
|
|
Loading…
Reference in a new issue