@@ -53,9 +53,9 @@ pub enum MirPhase {
53
53
/// query.
54
54
ConstsPromoted = 2 ,
55
55
/// Beginning with this phase, the following variants are disallowed:
56
- /// * [`TerminatorKind::DropAndReplace`](terminator::TerminatorKind::DropAndReplace)
57
- /// * [`TerminatorKind::FalseUnwind`](terminator::TerminatorKind::FalseUnwind)
58
- /// * [`TerminatorKind::FalseEdge`](terminator::TerminatorKind::FalseEdge)
56
+ /// * [`TerminatorKind::DropAndReplace`]
57
+ /// * [`TerminatorKind::FalseUnwind`]
58
+ /// * [`TerminatorKind::FalseEdge`]
59
59
/// * [`StatementKind::FakeRead`]
60
60
/// * [`StatementKind::AscribeUserType`]
61
61
/// * [`Rvalue::Ref`] with `BorrowKind::Shallow`
@@ -86,8 +86,8 @@ pub enum MirPhase {
86
86
/// types across a yield point will lead to ICEs becaues of this.
87
87
///
88
88
/// Beginning with this phase, the following variants are disallowed:
89
- /// * [`TerminatorKind::Yield`](terminator::TerminatorKind::Yield)
90
- /// * [`TerminatorKind::GeneratorDrop`](terminator::TerminatorKind::GeneratorDrop)
89
+ /// * [`TerminatorKind::Yield`]
90
+ /// * [`TerminatorKind::GeneratorDrop`]
91
91
/// * [`ProjectionElem::Deref`] of `Box`
92
92
GeneratorsLowered = 6 ,
93
93
Optimized = 7 ,
@@ -712,7 +712,7 @@ pub type AssertMessage<'tcx> = AssertKind<Operand<'tcx>>;
712
712
///
713
713
/// 1. The address in memory that the place refers to.
714
714
/// 2. The provenance with which the place is being accessed.
715
- /// 3. The type of the place and an optional variant index. See [`PlaceTy`][tcx::PlaceTy].
715
+ /// 3. The type of the place and an optional variant index. See [`PlaceTy`][super:: tcx::PlaceTy].
716
716
/// 4. Optionally, some metadata. This exists if and only if the type of the place is not `Sized`.
717
717
///
718
718
/// We'll give a description below of how all pieces of the place except for the provenance are
0 commit comments