Skip to content

Commit a618c6c

Browse files
committed
Auto merge of #793 - fee1-dead-contrib:bump-syn, r=jackh726
update syn to 2.0
2 parents 95ca93c + 9233e54 commit a618c6c

File tree

3 files changed

+33
-16
lines changed

3 files changed

+33
-16
lines changed

Cargo.lock

+30-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chalk-derive/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ edition = "2018"
1313
proc-macro = true
1414

1515
[dependencies]
16-
synstructure = "0.12.5"
16+
synstructure = "0.13.0"
1717
quote = "1.0"
1818
proc-macro2 = "1.0"
19-
syn = { version = "1.0", features = ["full"] }
19+
syn = { version = "2.0", features = ["full"] }

chalk-derive/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn has_interner_attr(input: &DeriveInput) -> Option<TokenStream> {
2222
input
2323
.attrs
2424
.iter()
25-
.find(|a| a.path.is_ident("has_interner"))?
25+
.find(|a| a.path().is_ident("has_interner"))?
2626
.parse_args::<TokenStream>()
2727
.expect("Expected has_interner argument"),
2828
)

0 commit comments

Comments
 (0)