1 error[E0308]: match arms have incompatible types
2 --> $DIR/old-lub-glb-object.rs:20:13
4 LL | let z = match 22 { //~ ERROR 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>`
14 = note: this was previously accepted by the compiler but has been phased out
15 = note: for more information, see https://github.com/rust-lang/rust/issues/45852
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0308`.