1
Fork 0

new borrow checker (mass squash)

This commit is contained in:
Niko Matsakis 2013-03-15 15:24:24 -04:00
parent b5a7e8b353
commit a896440ca1
172 changed files with 6475 additions and 4303 deletions

View file

@ -18,6 +18,6 @@ fn main() {
loop {
let x = 1 + *p;
p = &x; //~ ERROR illegal borrow
p = &x; //~ ERROR borrowed value does not live long enough
}
}