From 29f74c52c2535785da52d5b24c90f29be15c3481 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Thu, 28 Sep 2023 16:22:44 -0700 Subject: [PATCH] attributes: bump minimum version of proc-macro2 to 1.0.60 (#2732) As part of landing #2728, I noticed that the `-Zminimal-versions` check fails due to proc-macro2 1.0.40 referencing a since-removed, nightly-only feature (`proc_macro_span_shrink`). Since this change doesn't change the MSRV of `proc-macro2` (or `tracing`, for that matter), this feels like a safe change to make. --- tracing-attributes/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 67e546f43a..9c126ad81b 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -39,7 +39,7 @@ proc-macro = true async-await = [] [dependencies] -proc-macro2 = "1.0.40" +proc-macro2 = "1.0.60" syn = { version = "2.0", default-features = false, features = ["full", "parsing", "printing", "visit-mut", "clone-impls", "extra-traits", "proc-macro"] } quote = "1.0.20"