build: update syn to version 3.0

This commit is contained in:
2026-07-21 11:38:17 +02:00
parent 2865e49da3
commit 6132d5369f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ doctest = false
[dependencies] [dependencies]
proc-macro2 = "1.0" proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "2.0", features = ["full"] } syn = { version = "3.0", features = ["full"] }
[dev-dependencies] [dev-dependencies]
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
+1 -1
View File
@@ -26,7 +26,7 @@ pub(crate) fn type_lifetimes_to_static(ty: &mut Type) {
} }
PathArguments::Parenthesized(parenthesized) => { PathArguments::Parenthesized(parenthesized) => {
for input in &mut parenthesized.inputs { for input in &mut parenthesized.inputs {
type_lifetimes_to_static(input) type_lifetimes_to_static(&mut input.ty)
} }
} }
} }