]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lub-glb/old-lub-glb-object.stderr
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / lub-glb / old-lub-glb-object.stderr
1 error[E0308]: match arms have incompatible types
2 --> $DIR/old-lub-glb-object.rs:10:13
3 |
4 LL | let z = match 22 { //~ ERROR match arms have incompatible types
5 | _____________^
6 LL | | 0 => x,
7 LL | | _ => y,
8 | | - match arm with an incompatible type
9 LL | | };
10 | |_____^ expected bound lifetime parameter 'a, found concrete lifetime
11 |
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
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0308`.