Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b944a43

Browse files
Rollup merge of #145937 - jdonszelmann:doc-hidden-prelude, r=fmease
add doc-hidden to exports in attribute prelude Seems to fix #145870, at least temporarily. The underlying problem of course is still there. r? `@fmease` <img width="653" height="167" alt="image" src="https://github.com/user-attachments/assets/b5a8094c-849e-4328-997d-b772f9aa4088" /> Fixes #145870
2 parents 347dd47 + bf6e99d commit b944a43

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)

AltStyle によって変換されたページ (->オリジナル) /