]> git.proxmox.com Git - rustc.git/blob - src/test/ui/borrowck/borrowck-fn-in-const-c.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / borrowck / borrowck-fn-in-const-c.stderr
1 error[E0713]: borrow may still be in use when destructor runs
2 --> $DIR/borrowck-fn-in-const-c.rs:17:16
3 |
4 LL | return &local.inner;
5 | ^^^^^^^^^^^^ returning this value requires that `local.inner` is borrowed for `'static`
6 LL | }
7 | - here, drop of `local` needs exclusive access to `local.inner`, because the type `DropString` implements the `Drop` trait
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0713`.