Skip to content

Commit 20c9453

Browse files
committed
Release 0.12.0
1 parent 260cdbd commit 20c9453

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "typle"
3-
version = "0.11.0"
3+
version = "0.12.0"
44
edition = "2021"
55
description = "Generic tuple bounds and transformations"
66
license = "MIT"
@@ -16,7 +16,7 @@ proc-macro = true
1616
either = "1"
1717
proc-macro2 = "1"
1818
quote = "1"
19-
syn = { version = "2.0.43", features = ["full", "parsing"] }
19+
syn = { version = "2.0.71", features = ["full", "parsing"] }
2020
zip_clone = "0.1.0"
2121

2222
[dev-dependencies]

src/check.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
current scope
2+
--> /home/jon/github/jongiddy/typle/src/context.rs:482:49
3+
|
4+
482 | ... ) = (bounds.get(0), bounds.get(1))
5+
| ^^^ method not found in `&syn::punctuated::Punctuated<TypeParamBound, syn::token::Plus>`
6+
7+
8+
error[E0599]: no method named `get` found for reference `&syn::punctuated::Punctuated<TypeParamBound, syn::token::Plus>` in the current scope
9+
--> /home/jon/github/jongiddy/typle/src/context.rs:482:64
10+
|
11+
482 | ... ) = (bounds.get(0), bounds.get(1))
12+
| ^^^ method not found in `&syn::punctuated::Punctuated<TypeParamBound, syn::token::Plus>`
13+
14+
15+
error[E0599]: no method named `get` found for struct `syn::punctuated::Punctuated<T, P>` in the current scope
16+
--> /home/jon/github/jongiddy/typle/src/context.rs:494:55
17+
|
18+
494 | ... ) = (segments.get(0), segments.get(1), segments.get(2))
19+
| ^^^ method not found in `syn::punctuated::Punctuated<PathSegment, PathSep>`
20+
21+
22+
error[E0599]: no method named `get` found for struct `syn::punctuated::Punctuated<T, P>` in the current scope
23+
--> /home/jon/github/jongiddy/typle/src/context.rs:494:72
24+
|
25+
494 | ... ) = (segments.get(0), segments.get(1), segments.get(2))
26+
| ^^^ method not found in `syn::punctuated::Punctuated<PathSegment, PathSep>`
27+
28+
29+
error[E0599]: no method named `get` found for struct `syn::punctuated::Punctuated<T, P>` in the current scope
30+
--> /home/jon/github/jongiddy/typle/src/context.rs:494:89
31+
|
32+
494 | ... ) = (segments.get(0), segments.get(1), segments.get(2))
33+
| ^^^ method not found in `syn::punctuated::Punctuated<PathSegment, PathSep>`
34+
35+
36+
error[E0614]: type `proc_macro2::Ident` cannot be dereferenced
37+
--> /home/jon/github/jongiddy/typle/src/context.rs:496:48
38+
|
39+
496 | ... if *ident1 == self.typle_macro.trait_ident
40+
| ^^^^^^^ can't be dereferenced

0 commit comments

Comments
 (0)