Skip to content

Commit 19b40c3

Browse files
committed
Add missing syn feature requirement
With the latest commit (283ccda), any project that uses Salsa hits tons of internal errors within Salsa. That's because Salsa needs syn's `full` feature, which was removed from the Cargo.toml as part of the Salsa 3.0 mega-PR. Because Salsa 1.0 still has the `full` feature in its Cargo.toml, Cargo implicitly still enables `full` for Salsa 2022, and thus the Salsa 2022 example projects compile fine -- even though any external code using Salsa does not.
1 parent 283ccda commit 19b40c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/salsa-2022-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ heck = "0.4"
1111
proc-macro2 = "1.0"
1212
quote = "1.0"
1313
eyre = "0.6.5"
14-
syn = { version = "2.0.64", features = ["visit-mut"] }
14+
syn = { version = "2.0.64", features = ["full", "visit-mut"] }
1515
synstructure = "0.13.1"

0 commit comments

Comments
 (0)