Skip to content

Commit cd762d8

Browse files
committed
fix two comments referring to moved code (rustc_mir_transform::generator)
1 parent c84f39e commit cd762d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/sty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ impl<'tcx> GeneratorSubsts<'tcx> {
698698
}
699699

700700
/// This returns the types of the MIR locals which had to be stored across suspension points.
701-
/// It is calculated in rustc_const_eval::transform::generator::StateTransform.
701+
/// It is calculated in rustc_mir_transform::generator::StateTransform.
702702
/// All the types here must be in the tuple in GeneratorInterior.
703703
///
704704
/// The locals are grouped by their variant number. Note that some locals may

compiler/rustc_typeck/src/check/generator_interior.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! This calculates the types which has storage which lives across a suspension point in a
22
//! generator from the perspective of typeck. The actual types used at runtime
3-
//! is calculated in `rustc_const_eval::transform::generator` and may be a subset of the
3+
//! is calculated in `rustc_mir_transform::generator` and may be a subset of the
44
//! types computed here.
55
66
use self::drop_ranges::DropRanges;

0 commit comments

Comments
 (0)