rust/src/test/ui/issue-25793.nll.stderr

18 lines
583 B
Plaintext
Raw Normal View History

error[E0503]: cannot use `self.width` because it was mutably borrowed
--> $DIR/issue-25793.rs:13:9
|
LL | $this.width.unwrap()
| ^^^^^^^^^^^ use of borrowed `*self`
...
LL | let r = &mut *self;
| ---------- borrow of `*self` occurs here
LL | r.get_size(width!(self))
| ------------------------
| | |
| | in this macro invocation
| borrow later used here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0503`.