]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/span-covering-argument-1.stderr
Auto merge of #47956 - retep998:is-nibbles, r=BurntSushi
[rust.git] / src / test / ui / macros / span-covering-argument-1.stderr
1 error[E0596]: cannot borrow immutable local variable `foo` as mutable
2   --> $DIR/span-covering-argument-1.rs:15:19
3    |
4 14 |             let $s = 0;
5    |                 -- consider changing this to `mut $s`
6 15 |             *&mut $s = 0;
7    |                   ^^ cannot borrow mutably
8 ...
9 22 |     bad!(foo whatever);
10    |     ------------------- in this macro invocation
11
12 error: aborting due to previous error
13