]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-25579.rs
fix a bug in compiletest JSON parsing for duplicate errors
[rust.git] / src / test / compile-fail / issue-25579.rs
index 849c9aa18c905a2ca39d4f44c8aca1537943e894..323ce3b0adf33d89f9166ffd2c2b60182a2120cb 100644 (file)
@@ -17,7 +17,6 @@ fn causes_ice(mut l: &mut Sexpression) {
     loop { match l {
         &mut Sexpression::Num(ref mut n) => {},
         &mut Sexpression::Cons(ref mut expr) => { //~ ERROR cannot borrow `l.0`
-            //~| ERROR cannot borrow `l.0`
             l = &mut **expr; //~ ERROR cannot assign to `l`
         }
     }}