]> git.lizzy.rs Git - rust.git/blob - tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr
Rollup merge of #107777 - compiler-errors:derive_const-actually-derive-const, r=fee1...
[rust.git] / tests / ui / lub-glb / old-lub-glb-hr-noteq1.basenoleak.stderr
1 error[E0308]: mismatched types
2   --> $DIR/old-lub-glb-hr-noteq1.rs:17:14
3    |
4 LL |         _ => y,
5    |              ^ one type is more general than the other
6    |
7    = note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
8               found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.