]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-25793.nll.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-25793.nll.stderr
1 error[E0503]: cannot use `self.width` because it was mutably borrowed
2   --> $DIR/issue-25793.rs:13:9
3    |
4 LL |         $this.width.unwrap()
5    |         ^^^^^^^^^^^ use of borrowed `*self`
6 ...
7 LL |         let r = &mut *self;
8    |                 ---------- borrow of `*self` occurs here
9 LL |         r.get_size(width!(self))
10    |         ------------------------
11    |         |          |
12    |         |          in this macro invocation
13    |         borrow later used here
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0503`.