Avoid lots of hir::HirId{,Map,Set} qualifiers.
Because they're a bit redundant.
This commit is contained in:
@@ -4251,7 +4251,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
|
||||
type_diffs: &[TypeError<'tcx>],
|
||||
span: Span,
|
||||
prev_ty: Ty<'tcx>,
|
||||
body_id: hir::HirId,
|
||||
body_id: HirId,
|
||||
param_env: ty::ParamEnv<'tcx>,
|
||||
) -> Vec<Option<(Span, (DefId, Ty<'tcx>))>> {
|
||||
let ocx = ObligationCtxt::new(self.infcx);
|
||||
@@ -4757,7 +4757,7 @@ impl<'v> Visitor<'v> for ReturnsVisitor<'v> {
|
||||
/// Collect all the awaited expressions within the input expression.
|
||||
#[derive(Default)]
|
||||
struct AwaitsVisitor {
|
||||
awaits: Vec<hir::HirId>,
|
||||
awaits: Vec<HirId>,
|
||||
}
|
||||
|
||||
impl<'v> Visitor<'v> for AwaitsVisitor {
|
||||
|
||||
Reference in New Issue
Block a user