File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
compiler/rustc_trait_selection/src/traits/error_reporting Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ pub trait TypeErrCtxtExt<'tcx> {
212212
213213 fn extract_callable_info (
214214 & self ,
215- hir_id : LocalDefId ,
215+ body_id : LocalDefId ,
216216 param_env : ty:: ParamEnv < ' tcx > ,
217217 found : Ty < ' tcx > ,
218218 ) -> Option < ( DefIdOrName , Ty < ' tcx > , Vec < Ty < ' tcx > > ) > ;
@@ -1112,7 +1112,6 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
11121112 /// Extracts information about a callable type for diagnostics. This is a
11131113 /// heuristic -- it doesn't necessarily mean that a type is always callable,
11141114 /// because the callable type must also be well-formed to be called.
1115- // FIXME(vincenzopalazzo): move the HirId to a LocalDefId
11161115 fn extract_callable_info (
11171116 & self ,
11181117 body_id : LocalDefId ,
You can’t perform that action at this time.
0 commit comments