File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
compiler/rustc_mir/src/borrow_check/diagnostics Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -246,8 +246,14 @@ where
246246 let mut fulfill_cx = <dyn TraitEngine < ' _ > >:: new ( tcx) ;
247247
248248 let mut selcx = SelectionContext :: new ( infcx) ;
249- let ( param_env, value) = key. into_parts ( ) ;
250249
250+ // FIXME(lqd): Unify and de-duplicate the following with the actual
251+ // `rustc_traits::type_op::type_op_normalize` query to allow the span we need in the
252+ // `ObligationCause`. The normalization results are currently different between
253+ // `AtExt::normalize` used in the query and `normalize` called below: the former fails
254+ // to normalize the `nll/relate_tys/impl-fn-ignore-binder-via-bottom.rs` test. Check
255+ // after #85499 lands to see if its fixes have erased this difference.
256+ let ( param_env, value) = key. into_parts ( ) ;
251257 let Normalized { value : _, obligations } = rustc_trait_selection:: traits:: normalize (
252258 & mut selcx,
253259 param_env,
You can’t perform that action at this time.
0 commit comments