fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
565 B16 linesraw
1error[E0713]: borrow may still be in use when destructor runs
2  --> $DIR/issue-53773.rs:41:22
3   |
4LL |         members.push(child.raw);
5   |                      ^^^^^^^^^
6LL |
7LL |     }
8   |     - here, drop of `child` needs exclusive access to `*child.raw`, because the type `C<'_>` implements the `Drop` trait
9LL |     members.len();
10   |     ------- borrow later used here
11   |
12   = note: consider using a `let` binding to create a longer lived value
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0713`.