about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-08 09:06:35 +0100
committerGitHub <noreply@github.com>2024-02-08 09:06:35 +0100
commitfec32358b559eee00e5ce41ca16b6bf5ba6764f8 (patch)
treea9cec652be5f3cf02d2ec87c3f8b4693e8a85350 /compiler/rustc_pattern_analysis/src
parent65aa9eae7308e282c5a4d2d98dc64f5db70a52df (diff)
parent0a50dba50bedd24377bd1066da3b4b7066df4d28 (diff)
downloadrust-fec32358b559eee00e5ce41ca16b6bf5ba6764f8.tar.gz
rust-fec32358b559eee00e5ce41ca16b6bf5ba6764f8.zip
Rollup merge of #120702 - bvanjoi:fix-120444, r=notriddle
docs: also check the inline stmt during redundant link check

Fixes #120444

This issue was brought about by querying `root::webdavfs::A`, a key that doesn't exist in `doc_link_resolutions`. To avoid a panic, I've altered the gating mechanism to allow this lint pass to be skipped.

I'm not certain if this is the best solution. An alternative approach might be to leverage other info from the name resolutions instead of `doc_link_resolutions`. After all, all we need is to get the resolution from a combination of `(module, name)`. However, I believe they would yield the same outcome, both skipping this lint.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions