From a32fca71ed038542c1c92cbcd8b80b71ecc7690c Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Fri, 15 Jun 2018 05:49:53 +0200 Subject: Update the existing compile-fail tests to reflect diagnostic changes in NLL. --- src/test/compile-fail/assign-imm-local-twice.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/compile-fail/assign-imm-local-twice.rs') diff --git a/src/test/compile-fail/assign-imm-local-twice.rs b/src/test/compile-fail/assign-imm-local-twice.rs index d5e412c3745..ee9dafdd49e 100644 --- a/src/test/compile-fail/assign-imm-local-twice.rs +++ b/src/test/compile-fail/assign-imm-local-twice.rs @@ -13,6 +13,7 @@ fn test() { let v: isize; + //[mir]~^ NOTE consider changing this to `mut v` v = 1; //[ast]~ NOTE first assignment //[mir]~^ NOTE first assignment println!("v={}", v); -- cgit 1.4.1-3-g733a5