From df34b788fd550230fa61837f1c0c5196cd62be59 Mon Sep 17 00:00:00 2001 From: Jonathan Giddy Date: Sun, 14 Dec 2025 20:45:19 +0000 Subject: [PATCH] Release 0.12.0 --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/check.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 src/check.txt diff --git a/Cargo.lock b/Cargo.lock index 7259baa..3ae1dca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -214,7 +214,7 @@ checksum = "fcc842091f2def52017664b53082ecbbeb5c7731092bad69d2c63050401dfd64" [[package]] name = "typle" -version = "0.11.0" +version = "0.12.0" dependencies = [ "either", "macrotest", diff --git a/Cargo.toml b/Cargo.toml index c80282a..9dc576e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typle" -version = "0.11.0" +version = "0.12.0" edition = "2021" description = "Generic tuple bounds and transformations" license = "MIT" @@ -16,7 +16,7 @@ proc-macro = true either = "1" proc-macro2 = "1" quote = "1" -syn = { version = "2.0.43", features = ["full", "parsing"] } +syn = { version = "2.0.71", features = ["full", "parsing"] } zip_clone = "0.1.0" [dev-dependencies] diff --git a/src/check.txt b/src/check.txt new file mode 100644 index 0000000..d246e64 --- /dev/null +++ b/src/check.txt @@ -0,0 +1,40 @@ +current scope + --> /home/jon/github/jongiddy/typle/src/context.rs:482:49 + | +482 | ... ) = (bounds.get(0), bounds.get(1)) + | ^^^ method not found in `&syn::punctuated::Punctuated` + + +error[E0599]: no method named `get` found for reference `&syn::punctuated::Punctuated` in the current scope + --> /home/jon/github/jongiddy/typle/src/context.rs:482:64 + | +482 | ... ) = (bounds.get(0), bounds.get(1)) + | ^^^ method not found in `&syn::punctuated::Punctuated` + + +error[E0599]: no method named `get` found for struct `syn::punctuated::Punctuated` in the current scope + --> /home/jon/github/jongiddy/typle/src/context.rs:494:55 + | +494 | ... ) = (segments.get(0), segments.get(1), segments.get(2)) + | ^^^ method not found in `syn::punctuated::Punctuated` + + +error[E0599]: no method named `get` found for struct `syn::punctuated::Punctuated` in the current scope + --> /home/jon/github/jongiddy/typle/src/context.rs:494:72 + | +494 | ... ) = (segments.get(0), segments.get(1), segments.get(2)) + | ^^^ method not found in `syn::punctuated::Punctuated` + + +error[E0599]: no method named `get` found for struct `syn::punctuated::Punctuated` in the current scope + --> /home/jon/github/jongiddy/typle/src/context.rs:494:89 + | +494 | ... ) = (segments.get(0), segments.get(1), segments.get(2)) + | ^^^ method not found in `syn::punctuated::Punctuated` + + +error[E0614]: type `proc_macro2::Ident` cannot be dereferenced + --> /home/jon/github/jongiddy/typle/src/context.rs:496:48 + | +496 | ... if *ident1 == self.typle_macro.trait_ident + | ^^^^^^^ can't be dereferenced