| { | ||
| "git": { | ||
| "sha1": "3610c34ebd3f7c6c473d286294cd8e211ec3ebcd" | ||
| "sha1": "a62e54a48b3b05add5df0e80fe93906509ad72ae" | ||
| }, | ||
| "path_in_vcs": "" | ||
| } |
+40
-41
@@ -31,3 +31,3 @@ # This file is automatically @generated by Cargo. | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -65,5 +65,5 @@ | ||
| name = "bitflags" | ||
| version = "2.10.0" | ||
| version = "2.11.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" | ||
| checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" | ||
@@ -84,5 +84,5 @@ [[package]] | ||
| name = "cc" | ||
| version = "1.2.55" | ||
| version = "1.2.56" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29" | ||
| checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2" | ||
| dependencies = [ | ||
@@ -212,3 +212,3 @@ "find-msvc-tools", | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -321,5 +321,5 @@ | ||
| name = "futures-channel" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" | ||
| checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" | ||
| dependencies = [ | ||
@@ -332,29 +332,29 @@ "futures-core", | ||
| name = "futures-core" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" | ||
| checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" | ||
| [[package]] | ||
| name = "futures-io" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" | ||
| checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718" | ||
| [[package]] | ||
| name = "futures-sink" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" | ||
| checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" | ||
| [[package]] | ||
| name = "futures-task" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" | ||
| checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" | ||
| [[package]] | ||
| name = "futures-util" | ||
| version = "0.3.31" | ||
| version = "0.3.32" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" | ||
| checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" | ||
| dependencies = [ | ||
@@ -367,3 +367,2 @@ "futures-core", | ||
| "pin-project-lite", | ||
| "pin-utils", | ||
| "slab", | ||
@@ -758,5 +757,5 @@ ] | ||
| name = "libc" | ||
| version = "0.2.181" | ||
| version = "0.2.182" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "459427e2af2b9c839b132acb702a1c654d95e10f8c326bfc2ad11310e458b1c5" | ||
| checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" | ||
@@ -886,3 +885,3 @@ [[package]] | ||
| "proc-macro2", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -1045,3 +1044,3 @@ | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -1223,5 +1222,5 @@ | ||
| name = "security-framework" | ||
| version = "3.5.1" | ||
| version = "3.6.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" | ||
| checksum = "d17b898a6d6948c3a8ee4372c17cb384f90d2e6e912ef00895b14fd7ab54ec38" | ||
| dependencies = [ | ||
@@ -1237,5 +1236,5 @@ "bitflags", | ||
| name = "security-framework-sys" | ||
| version = "2.15.0" | ||
| version = "2.16.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" | ||
| checksum = "321c8673b092a9a42605034a9879d73cb79101ed5fd117bc9a597b89b4e9e61a" | ||
| dependencies = [ | ||
@@ -1279,3 +1278,3 @@ "core-foundation-sys", | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -1350,5 +1349,5 @@ | ||
| name = "syn" | ||
| version = "2.0.114" | ||
| version = "2.0.115" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a" | ||
| checksum = "6e614ed320ac28113fa64972c4262d5dbc89deacdfd00c34a3e4cea073243c12" | ||
| dependencies = [ | ||
@@ -1362,3 +1361,3 @@ "proc-macro2", | ||
| name = "syn" | ||
| version = "2.0.115" | ||
| version = "2.0.116" | ||
| dependencies = [ | ||
@@ -1405,3 +1404,3 @@ "anyhow", | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -1489,3 +1488,3 @@ | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -1501,3 +1500,3 @@ | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -1762,3 +1761,3 @@ | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| "wasm-bindgen-shared", | ||
@@ -2144,3 +2143,3 @@ ] | ||
| "prettyplease", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| "wasm-metadata", | ||
@@ -2161,3 +2160,3 @@ "wit-bindgen-core", | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| "wit-bindgen-core", | ||
@@ -2239,3 +2238,3 @@ "wit-bindgen-rust", | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| "synstructure", | ||
@@ -2261,3 +2260,3 @@ ] | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -2282,3 +2281,3 @@ | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| "synstructure", | ||
@@ -2323,3 +2322,3 @@ ] | ||
| "quote", | ||
| "syn 2.0.114", | ||
| "syn 2.0.115", | ||
| ] | ||
@@ -2326,0 +2325,0 @@ |
+1
-1
@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| name = "syn" | ||
| version = "2.0.115" | ||
| version = "2.0.116" | ||
| authors = ["David Tolnay <dtolnay@gmail.com>"] | ||
@@ -19,0 +19,0 @@ build = false |
+2
-1
@@ -252,3 +252,3 @@ //! [![github]](https://github.com/dtolnay/syn) [![crates-io]](https://crates.io/crates/syn) [![docs-rs]](crate) | ||
| #![no_std] | ||
| #![doc(html_root_url = "https://docs.rs/syn/2.0.115")] | ||
| #![doc(html_root_url = "https://docs.rs/syn/2.0.116")] | ||
| #![cfg_attr(docsrs, feature(doc_cfg), doc(auto_cfg = false))] | ||
@@ -304,2 +304,3 @@ #![deny(unsafe_op_in_unsafe_fn)] | ||
| clippy::trivially_copy_pass_by_ref, | ||
| clippy::type_complexity, | ||
| clippy::unconditional_recursion, // https://github.com/rust-lang/rust-clippy/issues/12133 | ||
@@ -306,0 +307,0 @@ clippy::uninhabited_references, |
+54
-0
@@ -0,1 +1,2 @@ | ||
| #![recursion_limit = "256"] | ||
| #![allow( | ||
@@ -317,1 +318,54 @@ clippy::elidable_lifetime_names, | ||
| } | ||
| // Regression test for issue https://github.com/dtolnay/syn/issues/1967 | ||
| #[test] | ||
| fn test_nested_receiver_classification() { | ||
| let tokens = quote! { | ||
| fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| self: foo<{ fn foo( | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| )}> | ||
| ) {} | ||
| }; | ||
| let _ = syn::parse2::<syn::File>(tokens); | ||
| } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display