Skip to content

Commit 0225d97

Browse files
committed
Add cfg_hide to the list of known attributes
1 parent 28500e7 commit 0225d97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_passes/src/check_attr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ impl CheckAttrVisitor<'tcx> {
628628
// plugins: removed, but rustdoc warns about it itself
629629
sym::alias
630630
| sym::cfg
631+
| sym::cfg_hide
631632
| sym::hidden
632633
| sym::html_favicon_url
633634
| sym::html_logo_url

0 commit comments

Comments
 (0)