allover: numerous unused muts etc

This commit is contained in:
Niko Matsakis 2013-04-30 14:10:21 -04:00
parent 70b9ad1748
commit 418f991118
20 changed files with 41 additions and 53 deletions

View file

@ -1,7 +1,6 @@
// error-pattern:illegal borrow: borrowed value does not live long enough
fn main() {
let v = ~"test";
let sslice = str::slice(v, 0, v.len());
//~^ ERROR borrowed value does not live long enough
fail!(sslice);
}