Skip to content

Commit 56e5f61

Browse files
jyn514GuillaumeGomez
authored andcommitted
Add cfg_hide to the list of known attributes
1 parent e36a370 commit 56e5f61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_passes/src/check_attr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ impl CheckAttrVisitor<'tcx> {
908908
// plugins: removed, but rustdoc warns about it itself
909909
sym::alias
910910
| sym::cfg
911+
| sym::cfg_hide
911912
| sym::hidden
912913
| sym::html_favicon_url
913914
| sym::html_logo_url

0 commit comments

Comments
 (0)