about summary refs log tree commit diff
path: root/src/test/ui/macros
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-06-12 18:01:48 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-06-19 19:38:37 +0200
commit2d4df5b53e92513ddd250be545ff7c015135451b (patch)
tree88f05e26284de6b1fdc66621d44916efbf95bec1 /src/test/ui/macros
parent7fd4b52b1b83195594ef88c193fdd409b68f19ef (diff)
downloadrust-2d4df5b53e92513ddd250be545ff7c015135451b.tar.gz
rust-2d4df5b53e92513ddd250be545ff7c015135451b.zip
NLL: Updates to diagnostic output in `test/ui`.
Diffstat (limited to 'src/test/ui/macros')
-rw-r--r--src/test/ui/macros/span-covering-argument-1.nll.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/macros/span-covering-argument-1.nll.stderr b/src/test/ui/macros/span-covering-argument-1.nll.stderr
index a12baab4159..213eddee720 100644
--- a/src/test/ui/macros/span-covering-argument-1.nll.stderr
+++ b/src/test/ui/macros/span-covering-argument-1.nll.stderr
@@ -1,6 +1,8 @@
 error[E0596]: cannot borrow immutable item `foo` as mutable
   --> $DIR/span-covering-argument-1.rs:15:14
    |
+LL |             let $s = 0;
+   |                 -- help: consider changing this to be mutable: `mut foo`
 LL |             *&mut $s = 0;
    |              ^^^^^^^ cannot borrow as mutable
 ...