outlives/env: fix comment, say must and not should
This commit is contained in:
parent
271616088f
commit
ab2bc9f073
@ -152,7 +152,7 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> OutlivesEnvironment<'tcx> {
|
||||
/// Processes outlives bounds that are known to hold, whether from implied or other sources.
|
||||
///
|
||||
/// The `infcx` parameter is optional; if the implied bounds may
|
||||
/// contain inference variables, it should be supplied, in which
|
||||
/// contain inference variables, it must be supplied, in which
|
||||
/// case we will register "givens" on the inference context. (See
|
||||
/// `RegionConstraintData`.)
|
||||
fn add_outlives_bounds<I>(
|
||||
|
Loading…
Reference in New Issue
Block a user