Remove "dependence" on typeck from comment in substs.
This commit is contained in:
parent
9aeaaab334
commit
00ca861f9d
1 changed files with 1 additions and 2 deletions
|
@ -589,8 +589,7 @@ impl<'a, 'tcx> TypeFolder<'tcx> for SubstFolder<'a, 'tcx> {
|
||||||
// type declarations and other outer declarations, not those
|
// type declarations and other outer declarations, not those
|
||||||
// bound in *fn types*. Region substitution of the bound
|
// bound in *fn types*. Region substitution of the bound
|
||||||
// regions that appear in a function signature is done using
|
// regions that appear in a function signature is done using
|
||||||
// the specialized routine
|
// the specialized routine `ty::replace_late_regions()`.
|
||||||
// `middle::typeck::check::regionmanip::replace_late_regions_in_fn_sig()`.
|
|
||||||
match r {
|
match r {
|
||||||
ty::ReEarlyBound(_, space, i, region_name) => {
|
ty::ReEarlyBound(_, space, i, region_name) => {
|
||||||
match self.substs.regions {
|
match self.substs.regions {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue