rust/src/test/ui/macros/span-covering-argument-1.stderr

15 lines
492 B
Plaintext
Raw Normal View History

error[E0596]: cannot borrow immutable local variable `foo` as mutable
--> $DIR/span-covering-argument-1.rs:15:19
|
14 | let $s = 0;
| -- consider changing this to `mut $s`
15 | *&mut $s = 0;
| ^^ cannot borrow mutably
...
22 | bad!(foo whatever);
| ------------------- in this macro invocation
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0596"