diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2022-02-24 17:16:36 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2022-02-24 17:16:36 -0500 |
| commit | 7b7b0f148c0e76136beb3c24d392f25bb4044612 (patch) | |
| tree | cfee6a857d2eb2a9c86ab6ef5c308d2f285ea7a9 /compiler/rustc_mir_transform/src/coverage | |
| parent | 01efe6d5c25b73a311ce03ec80744628f1ec8978 (diff) | |
| download | rust-7b7b0f148c0e76136beb3c24d392f25bb4044612.tar.gz rust-7b7b0f148c0e76136beb3c24d392f25bb4044612.zip | |
Fix intra-doc link issues exposed by new macro
These links never worked, but the lint was suppressed due to the fact that the span was pointing into the macro. With the new macro implementation, the span now points directly to the doc comment in the macro invocation, so it's no longer suppressed.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage')
| -rw-r--r-- | compiler/rustc_mir_transform/src/coverage/graph.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/coverage/graph.rs b/compiler/rustc_mir_transform/src/coverage/graph.rs index 57862b6628d..55f7e70db8f 100644 --- a/compiler/rustc_mir_transform/src/coverage/graph.rs +++ b/compiler/rustc_mir_transform/src/coverage/graph.rs @@ -281,7 +281,7 @@ impl graph::WithPredecessors for CoverageGraph { } rustc_index::newtype_index! { - /// A node in the [control-flow graph][CFG] of CoverageGraph. + /// A node in the control-flow graph of CoverageGraph. pub(super) struct BasicCoverageBlock { DEBUG_FORMAT = "bcb{}", const START_BCB = 0, |
