diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-06-15 05:49:53 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-06-19 19:41:54 +0200 |
| commit | a32fca71ed038542c1c92cbcd8b80b71ecc7690c (patch) | |
| tree | d671591289e3061a5473d46f970676f5bad2c67c /src/test/compile-fail/assign-imm-local-twice.rs | |
| parent | 35971ccc4127ca74b684dd23b8cd54aa89ef8d96 (diff) | |
| download | rust-a32fca71ed038542c1c92cbcd8b80b71ecc7690c.tar.gz rust-a32fca71ed038542c1c92cbcd8b80b71ecc7690c.zip | |
Update the existing compile-fail tests to reflect diagnostic changes in NLL.
Diffstat (limited to 'src/test/compile-fail/assign-imm-local-twice.rs')
| -rw-r--r-- | src/test/compile-fail/assign-imm-local-twice.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
