blob: a383ca5d390475572ec6797756a15b3cd71764ba [file] [log] [blame]
error[E0597]: `v` does not live long enough
--> $DIR/dropck-union.rs:49:19
|
LL | v.0.set(Some(&v)); //~ ERROR: `v` does not live long enough
| ^ borrowed value does not live long enough
LL | }
| - `v` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error: aborting due to previous error
For more information about this error, try `rustc --explain E0597`.