Skip to content

Commit 6a681f5

Browse files
committed
remove obsolete comments
Referenced was removed in 8770d0f
1 parent e94eaa6 commit 6a681f5

File tree

1 file changed

+0
-6
lines changed
  • src/librustc_infer/infer/region_constraints

1 file changed

+0
-6
lines changed

src/librustc_infer/infer/region_constraints/mod.rs

-6
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ impl Constraint<'_> {
147147
}
148148
}
149149

150-
/// `VerifyGenericBound(T, _, R, RS)`: the parameter type `T` (or
151-
/// associated type) must outlive the region `R`. `T` is known to
152-
/// outlive `RS`. Therefore, verify that `R <= RS[i]` for some
153-
/// `i`. Inference variables may be involved (but this verification
154-
/// step doesn't influence inference).
155150
#[derive(Debug, Clone)]
156151
pub struct Verify<'tcx> {
157152
pub kind: GenericKind<'tcx>,
@@ -687,7 +682,6 @@ impl<'tcx> RegionConstraintCollector<'tcx> {
687682
}
688683
}
689684

690-
/// See [`Verify::VerifyGenericBound`].
691685
pub fn verify_generic_bound(
692686
&mut self,
693687
origin: SubregionOrigin<'tcx>,

0 commit comments

Comments
 (0)