1 error: lifetime may not live long enough
2 --> $DIR/expect-region-supply-region-2.rs:14:30
4 LL | fn expect_bound_supply_named<'x>() {
5 | -- lifetime `'x` defined here
7 LL | closure_expecting_bound(|x: &'x u32| {
8 | ^ - let's call the lifetime of this reference `'1`
10 | requires that `'1` must outlive `'x`
12 error: lifetime may not live long enough
13 --> $DIR/expect-region-supply-region-2.rs:14:30
15 LL | fn expect_bound_supply_named<'x>() {
16 | -- lifetime `'x` defined here
18 LL | closure_expecting_bound(|x: &'x u32| {
19 | ^ requires that `'x` must outlive `'static`
21 = help: consider replacing `'x` with `'static`
23 error: aborting due to 2 previous errors