Skip to content

Commit bf6e99d

Browse files
committed
add doc-hidden to exports in attribute prelude
1 parent b2dd217 commit bf6e99d

File tree

1 file changed

+11
-1
lines changed
  • compiler/rustc_attr_parsing/src/attributes

1 file changed

+11
-1
lines changed
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
1-
// parsing
21
// templates
2+
#[doc(hidden)]
33
pub(super) use rustc_feature::{AttributeTemplate, template};
44
// data structures
5+
#[doc(hidden)]
56
pub(super) use rustc_hir::attrs::AttributeKind;
7+
#[doc(hidden)]
68
pub(super) use rustc_hir::lints::AttributeLintKind;
9+
#[doc(hidden)]
710
pub(super) use rustc_hir::{MethodKind, Target};
11+
#[doc(hidden)]
812
pub(super) use rustc_span::{DUMMY_SP, Ident, Span, Symbol, sym};
13+
#[doc(hidden)]
914
pub(super) use thin_vec::ThinVec;
1015

16+
#[doc(hidden)]
1117
pub(super) use crate::attributes::{
1218
AcceptMapping, AttributeOrder, AttributeParser, CombineAttributeParser, ConvertFn,
1319
NoArgsAttributeParser, OnDuplicate, SingleAttributeParser,
1420
};
1521
// contexts
22+
#[doc(hidden)]
1623
pub(super) use crate::context::{AcceptContext, FinalizeContext, Stage};
24+
#[doc(hidden)]
1725
pub(super) use crate::parser::*;
1826
// target checking
27+
#[doc(hidden)]
1928
pub(super) use crate::target_checking::Policy::{Allow, Error, Warn};
29+
#[doc(hidden)]
2030
pub(super) use crate::target_checking::{ALL_TARGETS, AllowedTargets};

0 commit comments

Comments
 (0)