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-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0503"
|