]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dropck/dropck-union.nll.stderr
Remove irrelevant message about drop order
[rust.git] / src / test / ui / dropck / dropck-union.nll.stderr
1 error[E0597]: `v` does not live long enough
2   --> $DIR/dropck-union.rs:49:18
3    |
4 LL |     v.0.set(Some(&v)); //~ ERROR: `v` does not live long enough
5    |                  ^^ borrowed value does not live long enough
6 LL | }
7    | -
8    | |
9    | `v` dropped here while still borrowed
10    | borrow later used here, when `v` is dropped
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0597`.