mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Remove "dependence" on typeck from comment in substs.
This commit is contained in:
@@ -589,8 +589,7 @@ fn fold_region(&mut self, r: ty::Region) -> ty::Region {
|
||||
// type declarations and other outer declarations, not those
|
||||
// bound in *fn types*. Region substitution of the bound
|
||||
// regions that appear in a function signature is done using
|
||||
// the specialized routine
|
||||
// `middle::typeck::check::regionmanip::replace_late_regions_in_fn_sig()`.
|
||||
// the specialized routine `ty::replace_late_regions()`.
|
||||
match r {
|
||||
ty::ReEarlyBound(_, space, i, region_name) => {
|
||||
match self.substs.regions {
|
||||
|
||||
Reference in New Issue
Block a user