@@ -53,9 +53,9 @@ pub enum MirPhase {
5353 /// query.
5454 ConstsPromoted = 2 ,
5555 /// 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`]
5959 /// * [`StatementKind::FakeRead`]
6060 /// * [`StatementKind::AscribeUserType`]
6161 /// * [`Rvalue::Ref`] with `BorrowKind::Shallow`
@@ -86,8 +86,8 @@ pub enum MirPhase {
8686 /// types across a yield point will lead to ICEs becaues of this.
8787 ///
8888 /// 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`]
9191 /// * [`ProjectionElem::Deref`] of `Box`
9292 GeneratorsLowered = 6 ,
9393 Optimized = 7 ,
@@ -712,7 +712,7 @@ pub type AssertMessage<'tcx> = AssertKind<Operand<'tcx>>;
712712///
713713/// 1. The address in memory that the place refers to.
714714/// 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].
716716/// 4. Optionally, some metadata. This exists if and only if the type of the place is not `Sized`.
717717///
718718/// We'll give a description below of how all pieces of the place except for the provenance are
0 commit comments