From be15f174fa13386a1b5f69fedbe0301c84d3df4d Mon Sep 17 00:00:00 2001 From: Nathan Fenner Date: Tue, 28 Feb 2023 14:59:32 -0800 Subject: [PATCH] restore unaddressed FIXME --- .../rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs index 778e0bdaefd6..b09886fe3a96 100644 --- a/compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs +++ b/compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs @@ -731,6 +731,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { // For example, `Some(5)` triggers this case. self.tcx.parent(expr_ctor_def_id) } else { + // FIXME: Deal with type aliases? return Err(expr); } }