fix two comments referring to moved code (rustc_mir_transform::generator)
This commit is contained in:
parent
c84f39e6c0
commit
cd762d8694
2 changed files with 2 additions and 2 deletions
|
@ -698,7 +698,7 @@ impl<'tcx> GeneratorSubsts<'tcx> {
|
|||
}
|
||||
|
||||
/// This returns the types of the MIR locals which had to be stored across suspension points.
|
||||
/// It is calculated in rustc_const_eval::transform::generator::StateTransform.
|
||||
/// It is calculated in rustc_mir_transform::generator::StateTransform.
|
||||
/// All the types here must be in the tuple in GeneratorInterior.
|
||||
///
|
||||
/// The locals are grouped by their variant number. Note that some locals may
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! This calculates the types which has storage which lives across a suspension point in a
|
||||
//! generator from the perspective of typeck. The actual types used at runtime
|
||||
//! is calculated in `rustc_const_eval::transform::generator` and may be a subset of the
|
||||
//! is calculated in `rustc_mir_transform::generator` and may be a subset of the
|
||||
//! types computed here.
|
||||
|
||||
use self::drop_ranges::DropRanges;
|
||||
|
|
Loading…
Add table
Reference in a new issue