diff options
| author | Urgau <urgau@numericable.fr> | 2025-05-29 21:50:14 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-05-29 21:50:14 +0200 |
| commit | 9d0845a78209ba78798d9c93fabda967167d7da2 (patch) | |
| tree | 4cdc2363aa50034f878e713d3d543e038f228702 /src/librustdoc/clean/inline.rs | |
| parent | 13718eb788622ef8c998650451174570230d2971 (diff) | |
| download | rust-9d0845a78209ba78798d9c93fabda967167d7da2.tar.gz rust-9d0845a78209ba78798d9c93fabda967167d7da2.zip | |
Rework `#[doc(cfg(..))]` checks as distinct pass in rustdoc
Diffstat (limited to 'src/librustdoc/clean/inline.rs')
| -rw-r--r-- | src/librustdoc/clean/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/clean/inline.rs b/src/librustdoc/clean/inline.rs index f25cf606812..55a116a018a 100644 --- a/src/librustdoc/clean/inline.rs +++ b/src/librustdoc/clean/inline.rs @@ -409,12 +409,12 @@ pub(crate) fn merge_attrs( } else { Attributes::from_hir(&both) }, - extract_cfg_from_attrs(both.iter(), cx.tcx, None, &cx.cache.hidden_cfg), + extract_cfg_from_attrs(both.iter(), cx.tcx, &cx.cache.hidden_cfg), ) } else { ( Attributes::from_hir(old_attrs), - extract_cfg_from_attrs(old_attrs.iter(), cx.tcx, None, &cx.cache.hidden_cfg), + extract_cfg_from_attrs(old_attrs.iter(), cx.tcx, &cx.cache.hidden_cfg), ) } } |
