1
Fork 0

test -- update tests with new error messages

This commit is contained in:
Niko Matsakis 2014-02-10 07:44:03 -05:00
parent 1bd7b182c5
commit 3805c5416e
49 changed files with 92 additions and 85 deletions

View file

@ -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
}
}