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> {
212
212
213
213
fn extract_callable_info (
214
214
& self ,
215
- hir_id : LocalDefId ,
215
+ body_id : LocalDefId ,
216
216
param_env : ty:: ParamEnv < ' tcx > ,
217
217
found : Ty < ' tcx > ,
218
218
) -> Option < ( DefIdOrName , Ty < ' tcx > , Vec < Ty < ' tcx > > ) > ;
@@ -1112,7 +1112,6 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
1112
1112
/// Extracts information about a callable type for diagnostics. This is a
1113
1113
/// heuristic -- it doesn't necessarily mean that a type is always callable,
1114
1114
/// because the callable type must also be well-formed to be called.
1115
- // FIXME(vincenzopalazzo): move the HirId to a LocalDefId
1116
1115
fn extract_callable_info (
1117
1116
& self ,
1118
1117
body_id : LocalDefId ,
You can’t perform that action at this time.
0 commit comments