diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-08-27 20:07:35 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-08-28 20:10:55 +1000 |
| commit | 1ed566026633c20f7bbb2d1d5edcf558dcb7ef37 (patch) | |
| tree | d1e5d38dbd965cd688c7bf0340cbbfb97b2a778c | |
| parent | d263d3a88ce2d339a16587fdb60d60a208ea4f6b (diff) | |
| download | rust-1ed566026633c20f7bbb2d1d5edcf558dcb7ef37.tar.gz rust-1ed566026633c20f7bbb2d1d5edcf558dcb7ef37.zip | |
Add `proc-macro2` and `quote` to `[workspace.dependencies]`.
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | compiler/rustc_fluent_macro/Cargo.toml | 4 | ||||
| -rw-r--r-- | compiler/rustc_index_macros/Cargo.toml | 4 | ||||
| -rw-r--r-- | compiler/rustc_macros/Cargo.toml | 4 | ||||
| -rw-r--r-- | compiler/rustc_type_ir_macros/Cargo.toml | 4 |
5 files changed, 10 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml index d7408cd48ae..68c4ad46587 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,6 +68,8 @@ itertools = "0.12.1" # https://github.com/bytecodealliance/rustix/issues/1496 libc = "=0.2.174" memchr = "2.7.5" +proc-macro2 = "1.0.101" +quote = "1.0.40" rustc-literal-escaper = "0.0.5" serde_json = "1.0.142" thin-vec = "0.2.14" diff --git a/compiler/rustc_fluent_macro/Cargo.toml b/compiler/rustc_fluent_macro/Cargo.toml index d7ef4280aef..60afd9aca87 100644 --- a/compiler/rustc_fluent_macro/Cargo.toml +++ b/compiler/rustc_fluent_macro/Cargo.toml @@ -11,8 +11,8 @@ proc-macro = true annotate-snippets = "0.11" fluent-bundle = "0.16" fluent-syntax = "0.12" -proc-macro2 = "1" -quote = "1" +proc-macro2.workspace = true +quote.workspace = true syn = { version = "2", features = ["full"] } unic-langid = { version = "0.9.0", features = ["macros"] } # tidy-alphabetical-end diff --git a/compiler/rustc_index_macros/Cargo.toml b/compiler/rustc_index_macros/Cargo.toml index 34f3109a526..8593bde2615 100644 --- a/compiler/rustc_index_macros/Cargo.toml +++ b/compiler/rustc_index_macros/Cargo.toml @@ -8,8 +8,8 @@ proc-macro = true [dependencies] # tidy-alphabetical-start -proc-macro2 = "1" -quote = "1" +proc-macro2.workspace = true +quote.workspace = true syn = { version = "2.0.9", features = ["full", "extra-traits"] } # tidy-alphabetical-end diff --git a/compiler/rustc_macros/Cargo.toml b/compiler/rustc_macros/Cargo.toml index f9d3b758359..5add2691b88 100644 --- a/compiler/rustc_macros/Cargo.toml +++ b/compiler/rustc_macros/Cargo.toml @@ -8,8 +8,8 @@ proc-macro = true [dependencies] # tidy-alphabetical-start -proc-macro2 = "1" -quote = "1" +proc-macro2.workspace = true +quote.workspace = true syn = { version = "2.0.9", features = ["full"] } synstructure = "0.13.0" # tidy-alphabetical-end diff --git a/compiler/rustc_type_ir_macros/Cargo.toml b/compiler/rustc_type_ir_macros/Cargo.toml index 15a55575099..29a2cc89033 100644 --- a/compiler/rustc_type_ir_macros/Cargo.toml +++ b/compiler/rustc_type_ir_macros/Cargo.toml @@ -8,8 +8,8 @@ proc-macro = true [dependencies] # tidy-alphabetical-start -proc-macro2 = "1" -quote = "1" +proc-macro2.workspace = true +quote.workspace = true syn = { version = "2.0.9", features = ["full"] } synstructure = "0.13.0" # tidy-alphabetical-end |
