1 error[E0597]: `bomb` does not live long enough
2 --> $DIR/dropck_misc_variants.rs:23:37
4 LL | _w = Wrap::<&[&str]>(NoisyDrop(&bomb));
5 | ^^^^ borrowed value does not live long enough
7 | - `bomb` dropped here while still borrowed
9 = note: values in a scope are dropped in the opposite order they are created
11 error[E0597]: `v` does not live long enough
12 --> $DIR/dropck_misc_variants.rs:31:28
14 LL | let u = NoisyDrop(&v);
15 | ^ borrowed value does not live long enough
18 | - `v` dropped here while still borrowed
20 = note: values in a scope are dropped in the opposite order they are created
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0597`.