Skip to content

Commit

Permalink
Update for upcoming markdown changes. (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored Feb 7, 2024
1 parent 9115025 commit fd6ed0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/borrow_check/drop_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion src/building/bootstrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
7 changes: 3 additions & 4 deletions src/llvm-coverage-instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <!-- date-check: --> 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 <!-- date-check: --> 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>) {
Expand Down

0 comments on commit fd6ed0d

Please sign in to comment.