run x.py fmt
This commit is contained in:
parent
9118fafd40
commit
e93e10516e
2 changed files with 2 additions and 9 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue