Skip to content

Commit 1ed5660

Browse files
committed
Add proc-macro2 and quote to [workspace.dependencies].
1 parent d263d3a commit 1ed5660

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ itertools = "0.12.1"
6868
# https://github.com/bytecodealliance/rustix/issues/1496
6969
libc = "=0.2.174"
7070
memchr = "2.7.5"
71+
proc-macro2 = "1.0.101"
72+
quote = "1.0.40"
7173
rustc-literal-escaper = "0.0.5"
7274
serde_json = "1.0.142"
7375
thin-vec = "0.2.14"

compiler/rustc_fluent_macro/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ proc-macro = true
1111
annotate-snippets = "0.11"
1212
fluent-bundle = "0.16"
1313
fluent-syntax = "0.12"
14-
proc-macro2 = "1"
15-
quote = "1"
14+
proc-macro2.workspace = true
15+
quote.workspace = true
1616
syn = { version = "2", features = ["full"] }
1717
unic-langid = { version = "0.9.0", features = ["macros"] }
1818
# tidy-alphabetical-end

compiler/rustc_index_macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ proc-macro = true
88

99
[dependencies]
1010
# tidy-alphabetical-start
11-
proc-macro2 = "1"
12-
quote = "1"
11+
proc-macro2.workspace = true
12+
quote.workspace = true
1313
syn = { version = "2.0.9", features = ["full", "extra-traits"] }
1414
# tidy-alphabetical-end
1515

compiler/rustc_macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ proc-macro = true
88

99
[dependencies]
1010
# tidy-alphabetical-start
11-
proc-macro2 = "1"
12-
quote = "1"
11+
proc-macro2.workspace = true
12+
quote.workspace = true
1313
syn = { version = "2.0.9", features = ["full"] }
1414
synstructure = "0.13.0"
1515
# tidy-alphabetical-end

compiler/rustc_type_ir_macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ proc-macro = true
88

99
[dependencies]
1010
# tidy-alphabetical-start
11-
proc-macro2 = "1"
12-
quote = "1"
11+
proc-macro2.workspace = true
12+
quote.workspace = true
1313
syn = { version = "2.0.9", features = ["full"] }
1414
synstructure = "0.13.0"
1515
# tidy-alphabetical-end

0 commit comments

Comments
 (0)