Skip to content

Commit d64ff9f

Browse files
committed
bump rustdoc json version for inline attribute representation
1 parent 09e40b3 commit d64ff9f

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[package]
2+
name = "rustc_builtin_macros"
3+
version = "0.0.0"
4+
edition = "2024"
5+
6+
[lib]
7+
doctest = false
8+
9+
[dependencies]
10+
# tidy-alphabetical-start
11+
rustc_ast = { path = "../rustc_ast" }
12+
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
13+
rustc_attr_data_structures = { path = "../rustc_attr_data_structures" }
14+
rustc_attr_parsing = { path = "../rustc_attr_parsing" }
15+
rustc_data_structures = { path = "../rustc_data_structures" }
16+
rustc_errors = { path = "../rustc_errors" }
17+
rustc_expand = { path = "../rustc_expand" }
18+
rustc_feature = { path = "../rustc_feature" }
19+
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
20+
rustc_hir = { path = "../rustc_hir" }
21+
rustc_index = { path = "../rustc_index" }
22+
rustc_lexer = { path = "../rustc_lexer" }
23+
rustc_lint_defs = { path = "../rustc_lint_defs" }
24+
rustc_macros = { path = "../rustc_macros" }
25+
rustc_parse = { path = "../rustc_parse" }
26+
rustc_parse_format = { path = "../rustc_parse_format" }
27+
# We must use the proc_macro version that we will compile proc-macros against,
28+
# not the one from our own sysroot.
29+
rustc_proc_macro = { path = "../rustc_proc_macro" }
30+
rustc_session = { path = "../rustc_session" }
31+
rustc_span = { path = "../rustc_span" }
32+
rustc_target = { path = "../rustc_target" }
33+
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
34+
thin-vec = "0.2.12"
35+
tracing = "0.1"
36+
# tidy-alphabetical-end

src/rustdoc-json-types/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ pub type FxHashMap<K, V> = HashMap<K, V>; // re-export for use in src/librustdoc
3737
// will instead cause conflicts. See #94591 for more. (This paragraph and the "Latest feature" line
3838
// are deliberately not in a doc comment, because they need not be in public docs.)
3939
//
40-
// Latest feature: rustdoc JSON: Don't apply #[repr] privacy heuristics
41-
pub const FORMAT_VERSION: u32 = 46;
40+
// Latest feature: Pretty printing of inline attributes changed
41+
pub const FORMAT_VERSION: u32 = 48;
4242

4343
/// The root of the emitted JSON blob.
4444
///

0 commit comments

Comments
 (0)