2017-12-10 13:47:55 -06:00
|
|
|
error[E0503]: cannot use `self.width` because it was mutably borrowed
|
|
|
|
--> $DIR/issue-25793.rs:13:9
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | $this.width.unwrap()
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^^^^^^ use of borrowed `*self`
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | self.get_size(width!(self))
|
2017-12-10 13:47:55 -06:00
|
|
|
| ---- ------------ in this macro invocation
|
|
|
|
| |
|
|
|
|
| borrow of `*self` occurs here
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0503`.
|