From 9e35fd262f8ca57d755259448df4e7b601cb236a Mon Sep 17 00:00:00 2001 From: Mikhail Modin Date: Wed, 15 Nov 2017 12:30:30 +0300 Subject: [PATCH] fix test --- src/test/compile-fail/issue-25579.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/compile-fail/issue-25579.rs b/src/test/compile-fail/issue-25579.rs index 7da80d2852e..4437e20fc42 100644 --- a/src/test/compile-fail/issue-25579.rs +++ b/src/test/compile-fail/issue-25579.rs @@ -18,11 +18,10 @@ enum Sexpression { fn causes_ice(mut l: &mut Sexpression) { loop { match l { - &mut Sexpression::Num(ref mut n) => {}, //[mir]~ ERROR (Mir) [E0384] + &mut Sexpression::Num(ref mut n) => {}, &mut Sexpression::Cons(ref mut expr) => { //[ast]~ ERROR [E0499] //[mir]~^ ERROR (Ast) [E0499] //[mir]~| ERROR (Mir) [E0506] - //[mir]~| ERROR (Mir) [E0384] //[mir]~| ERROR (Mir) [E0499] l = &mut **expr; //[ast]~ ERROR [E0506] //[mir]~^ ERROR (Ast) [E0506]