From cf8a8c598095cd007ed29044daca0f982561b292 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 ae20aa23da..57dd7415b3 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -34,7 +34,7 @@ rust-version = "1.56.0" proc-macro = true [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"