about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan Fenner <nfenneremail@gmail.com>2023-02-28 14:59:32 -0800
committerNathan Fenner <nfenneremail@gmail.com>2023-02-28 14:59:32 -0800
commitbe15f174fa13386a1b5f69fedbe0301c84d3df4d (patch)
tree8496d17bd83a68f8449a3e412fcebdd922a32101
parentf0212e65321cf4e6a05ac78d44ec242829ffa289 (diff)
downloadrust-be15f174fa13386a1b5f69fedbe0301c84d3df4d.tar.gz
rust-be15f174fa13386a1b5f69fedbe0301c84d3df4d.zip
restore unaddressed FIXME
-rw-r--r--compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs1
1 files changed, 1 insertions, 0 deletions
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 778e0bdaefd..b09886fe3a9 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);
                     }
                 }