Remove a span from hir::ExprKind::MethodCall

This commit is contained in:
Cameron Steffen
2021-12-01 11:17:50 -06:00
parent 84e918971d
commit b11733534d
112 changed files with 211 additions and 220 deletions

View File

@@ -150,7 +150,7 @@ where
return;
}
}
hir::ExprKind::MethodCall(_, _, _, span) => {
hir::ExprKind::MethodCall(_, _, span) => {
let types = tcx.typeck(ex.hir_id.owner);
let def_id = if let Some(def_id) = types.type_dependent_def_id(ex.hir_id) {
def_id