allover: numerous unused muts etc
This commit is contained in:
parent
70b9ad1748
commit
418f991118
20 changed files with 41 additions and 53 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue