(Presumably the place that borrow_check ends up reporting for the
error about is no longer the root `Local` itself, and thus the note
diagnostic here stops firing.)
| |
| `*cell` dropped here while still borrowed
| borrow later used here, when `gen` is dropped
- |
- = note: values in a scope are dropped in the opposite order they are defined
error[E0597]: `ref_` does not live long enough
--> $DIR/dropck.rs:22:11
| |
| `*m` dropped here while still borrowed
| borrow later used here, when `m` is dropped
- |
- = note: values in a scope are dropped in the opposite order they are defined
error: aborting due to previous error