1
Fork 0

run x.py fmt

This commit is contained in:
Niko Matsakis 2022-06-23 17:00:46 -04:00
parent 9118fafd40
commit e93e10516e
2 changed files with 2 additions and 9 deletions

View file

@ -1363,10 +1363,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
} }
let result = self.scc_values.contains_points(sup_region_scc, sub_region_scc); let result = self.scc_values.contains_points(sup_region_scc, sub_region_scc);
debug!( debug!("returning {} because of comparison between points in sup/sub", result);
"returning {} because of comparison between points in sup/sub",
result
);
result result
} }

View file

@ -174,11 +174,7 @@ impl<'tcx> TypeRelation<'tcx> for Match<'tcx> {
#[instrument(skip(self), level = "debug")] #[instrument(skip(self), level = "debug")]
fn tys(&mut self, pattern: Ty<'tcx>, value: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tcx>> { fn tys(&mut self, pattern: Ty<'tcx>, value: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tcx>> {
if pattern == value { if pattern == value { Ok(pattern) } else { relate::super_relate_tys(self, pattern, value) }
Ok(pattern)
} else {
relate::super_relate_tys(self, pattern, value)
}
} }
#[instrument(skip(self), level = "debug")] #[instrument(skip(self), level = "debug")]