blob: fb83d767c50690d5c3774bab04f3cd3b2f72e967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
error: aborting due to previous error
For more information about this error, try `rustc --explain E0503`.
|