fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
553 B16 linesraw
1error[E0503]: cannot use `self.width` because it was mutably borrowed
2  --> $DIR/issue-25793.rs:4:9
3   |
4LL |         $this.width.unwrap()
5   |         ^^^^^^^^^^^ use of borrowed `*self`
6...
7LL |         let r = &mut *self;
8   |                 ---------- borrow of `*self` occurs here
9LL |         r.get_size(width!(self))
10   |           -------- ------------ in this macro invocation
11   |           |
12   |           borrow later used by call
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0503`.