From ae9c529137422909707dc1b83b55980301082722 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 7 Feb 2024 05:23:35 -0800 Subject: [PATCH] Update for upcoming markdown changes. (#1880) --- src/borrow_check/drop_check.md | 2 ++ src/building/bootstrapping.md | 2 +- src/llvm-coverage-instrumentation.md | 7 +++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/borrow_check/drop_check.md b/src/borrow_check/drop_check.md index 51d1ddd83..5190c0bd1 100644 --- a/src/borrow_check/drop_check.md +++ b/src/borrow_check/drop_check.md @@ -152,3 +152,5 @@ One possible way these inconsistencies can be fixed is by MIR building to be more pessimistic, probably by making `Ty::needs_drop` weaker, or alternatively, changing `dropck_outlives` to be more precise, requiring fewer regions to be live. + +[^core]: This is the core assumption of [#110288](https://github.com/rust-lang/rust/issues/110288) and [RFC 3417](https://github.com/rust-lang/rfcs/pull/3417). diff --git a/src/building/bootstrapping.md b/src/building/bootstrapping.md index b6753de7d..7bee8d3aa 100644 --- a/src/building/bootstrapping.md +++ b/src/building/bootstrapping.md @@ -429,7 +429,7 @@ Building rustdoc for stage1 (x86_64-unknown-linux-gnu) These steps use the provided (downloaded, usually) compiler to compile the local Rust source into libraries we can use. -### Copying stage0 {std,rustc} +### Copying stage0 \{std,rustc\} This copies the library and compiler artifacts from Cargo into `stage0-sysroot/lib/rustlib/{target-triple}/lib` diff --git a/src/llvm-coverage-instrumentation.md b/src/llvm-coverage-instrumentation.md index 545b48873..b7ef9b860 100644 --- a/src/llvm-coverage-instrumentation.md +++ b/src/llvm-coverage-instrumentation.md @@ -247,10 +247,9 @@ properly-configured variables in LLVM IR, according to very specific details of the [_LLVM Coverage Mapping Format_][coverage-mapping-format] (Version 6).[^llvm-and-covmap-versions] -[^llvm-and-covmap-versions]: -The Rust compiler (as of Jul 2023) supports _LLVM Coverage Mapping Format_ 6. -The Rust compiler will automatically use the most up-to-date coverage mapping format -version that is compatible with the compiler's built-in version of LLVM. +[^llvm-and-covmap-versions]: The Rust compiler (as of Jul 2023) supports _LLVM Coverage Mapping Format_ 6. + The Rust compiler will automatically use the most up-to-date coverage mapping format + version that is compatible with the compiler's built-in version of LLVM. ```rust pub fn finalize<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>) {