about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-30 13:39:54 +0200
committerGitHub <noreply@github.com>2025-05-30 13:39:54 +0200
commit4aac899406db7783fee60344bea27ec0ae53302f (patch)
tree78eef56e7446fadf90c439626c6be5d6940e2327 /compiler/rustc_hir_analysis/src/errors.rs
parent611340ffc29af31c1d5fc122d8bcc5d0923e7410 (diff)
parent9d0845a78209ba78798d9c93fabda967167d7da2 (diff)
downloadrust-4aac899406db7783fee60344bea27ec0ae53302f.tar.gz
rust-4aac899406db7783fee60344bea27ec0ae53302f.zip
Rollup merge of #141746 - Urgau:rework-doc_cfg-checks, r=GuillaumeGomez
Rework `#[doc(cfg(..))]` checks as distinct pass in rustdoc

This PR reworks how rustdoc calls `rustc_attr_parsing::cfg_matches` to be in a separate pass, instead of being wired-up in a ad-hoc way, which is causing problems in https://github.com/rust-lang/rust/pull/138907#issuecomment-2920026627.

This un-does most part of https://github.com/rust-lang/rust/pull/140894, but the result is IMO much cleaner, easier to reason about, and most importantly no longer interfears with rust-lang/rust#138907.

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions