Auto merge of #95156 - audunhalland:fix-rustc_const_eval_transform-comments, r=Dylan-DPC
fix two comments referring to moved code (now rustc_mir_transform::generator) This caused me some confusion when trying to find the related code.
This commit is contained in:
commit
eded76b6f1
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.
|
/// 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.
|
/// All the types here must be in the tuple in GeneratorInterior.
|
||||||
///
|
///
|
||||||
/// The locals are grouped by their variant number. Note that some locals may
|
/// 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
|
//! 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
|
//! 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.
|
//! types computed here.
|
||||||
|
|
||||||
use self::drop_ranges::DropRanges;
|
use self::drop_ranges::DropRanges;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue