mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 22:13:27 +00:00
run x.py fmt
This commit is contained in:
parent
9118fafd40
commit
e93e10516e
@ -1363,10 +1363,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
|
||||
}
|
||||
|
||||
let result = self.scc_values.contains_points(sup_region_scc, sub_region_scc);
|
||||
debug!(
|
||||
"returning {} because of comparison between points in sup/sub",
|
||||
result
|
||||
);
|
||||
debug!("returning {} because of comparison between points in sup/sub", result);
|
||||
result
|
||||
}
|
||||
|
||||
|
@ -174,11 +174,7 @@ impl<'tcx> TypeRelation<'tcx> for Match<'tcx> {
|
||||
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
fn tys(&mut self, pattern: Ty<'tcx>, value: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tcx>> {
|
||||
if pattern == value {
|
||||
Ok(pattern)
|
||||
} else {
|
||||
relate::super_relate_tys(self, pattern, value)
|
||||
}
|
||||
if pattern == value { Ok(pattern) } else { relate::super_relate_tys(self, pattern, value) }
|
||||
}
|
||||
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
|
Loading…
Reference in New Issue
Block a user