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