1 error: lifetime may not live long enough
2 --> $DIR/lub-if.rs:28:9
4 LL | pub fn opt_str2<'a>(maybestr: &'a Option<String>) -> &'static str {
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/lub-if.rs:35:9
13 LL | pub fn opt_str3<'a>(maybestr: &'a Option<String>) -> &'static str {
14 | -- lifetime `'a` defined here
17 | ^ returning this value requires that `'a` must outlive `'static`
19 error: aborting due to 2 previous errors