test -- update tests with new error messages
This commit is contained in:
parent
1bd7b182c5
commit
3805c5416e
49 changed files with 92 additions and 85 deletions
|
@ -18,6 +18,6 @@ fn main() {
|
|||
|
||||
loop {
|
||||
let x = 1 + *p;
|
||||
p = &x; //~ ERROR borrowed value does not live long enough
|
||||
p = &x; //~ ERROR `x` does not live long enough
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue