1 error[E0308]: match arms have incompatible types
2 --> $DIR/old-lub-glb-object.rs:12:14
4 LL | let z = match 22 {
7 | | - this is found to be of type `&dyn for<'a, 'b> Foo<&'a u8, &'b u8>`
8 LL | | _ => y, //~ ERROR match arms have incompatible types
9 | | ^ expected bound lifetime parameter 'a, found concrete lifetime
11 | |_____- `match` arms have incompatible types
13 = note: expected type `&dyn for<'a, 'b> Foo<&'a u8, &'b u8>`
14 found type `&dyn for<'a> Foo<&'a u8, &'a u8>`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0308`.