1 error: lifetime may not live long enough
2 --> $DIR/issue-55748-pat-types-constrain-bindings.rs:33:5
4 LL | fn coupled_regions_lhs<'a>(_x: &'a u32, s: &'static u32) -> &'static u32 {
5 | -- lifetime `'a` defined here
8 | ^ returning this value requires that `'a` must outlive `'static`
10 error: lifetime may not live long enough
11 --> $DIR/issue-55748-pat-types-constrain-bindings.rs:47:5
13 LL | fn coupled_types_lhs<'a>(_x: &'a u32, s: &'static u32) -> &'static u32 {
14 | -- lifetime `'a` defined here
17 | ^ returning this value requires that `'a` must outlive `'static`
19 error: lifetime may not live long enough
20 --> $DIR/issue-55748-pat-types-constrain-bindings.rs:60:5
22 LL | fn coupled_wilds_lhs<'a>(_x: &'a u32, s: &'static u32) -> &'static u32 {
23 | -- lifetime `'a` defined here
26 | ^ returning this value requires that `'a` must outlive `'static`
28 error: aborting due to 3 previous errors