Skip to content

Commit 0c06bce

Browse files
Wip
1 parent 23fe4a0 commit 0c06bce

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustdoc/clean/cfg.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -740,11 +740,6 @@ pub(crate) fn extract_cfg_from_attrs<'a, I: Iterator<Item = &'a hir::Attribute>
740740
continue;
741741
} else if !cfg_info.parent_is_doc_cfg
742742
&& let hir::Attribute::Parsed(AttributeKind::CfgTrace(cfgs, _)) = attr
743-
744-
// && let Some(ident) = attr.ident()
745-
// && matches!(ident.name, sym::cfg | sym::cfg_trace)
746-
// && let Some(attr) = single(attr.meta_item_list()?)
747-
// && let Ok(new_cfg) = Cfg::parse(&attr)
748743
{
749744
for new_cfg in cfgs {
750745
cfg_info.current_cfg &= Cfg(new_cfg.clone());

0 commit comments

Comments
 (0)