We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bde5bb commit 2cc22ceCopy full SHA for 2cc22ce
compiler/rustc_hir_typeck/src/demand.rs
@@ -31,7 +31,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
31
expr_ty: Ty<'tcx>,
32
expected: Ty<'tcx>,
33
expected_ty_expr: Option<&'tcx hir::Expr<'tcx>>,
34
- _error: Option<TypeError<'tcx>>,
+ error: Option<TypeError<'tcx>>,
35
) {
36
if expr_ty == expected {
37
return;
0 commit comments