about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-11 00:08:23 +0000
committerbors <bors@rust-lang.org>2022-01-11 00:08:23 +0000
commit1f213d983ddf44df10eb52627d3c24213d102e39 (patch)
tree29dca430bb1d7a48cf35aa0fad775c1afdde9f5d /compiler/rustc_codegen_gcc
parent89b9f7b284aacc5f8613438b80e4dd7bdd10549e (diff)
parenta626da4e7833598b26d89de01237150986582af4 (diff)
downloadrust-1f213d983ddf44df10eb52627d3c24213d102e39.tar.gz
rust-1f213d983ddf44df10eb52627d3c24213d102e39.zip
Auto merge of #92601 - camelid:more-intra-doc-cleanup, r=Manishearth
rustdoc: Remove the intra-doc links side channel

The side channel made the code much more complex and harder to
understand. It was added as a temporary workaround in
0c99d806eabd32a2ee2e6c71b400222b99c659e1, but it's no longer necessary.

The addition of `UrlFragment` in #92088 was the key to getting rid of
the side channel. The semantic information (rather than the strings that
used to be used for fragments) that is now captured by `UrlFragment` is
enough to obviate the side channel. An additional change had to be made
to `UrlFragment` in this PR to make this possible: it now records
`DefId`s rather than item names.

This PR also consolidates the checks for anchor conflicts into one place.

r? `@Manishearth`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions