You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[package]
name = "gen-example"version = "0.1.0"authors = ["Michael Lamparski <[email protected]>"]
edition = "2018"# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
genawaiter = "0.99.0"
C:/Users/diago/.cargo/bin/cargo.exe run --color=always
Compiling genawaiter-proc-macro v0.99.0
error[E0432]: unresolved imports `syn::FnArg`, `syn::ItemFn`
--> C:\Users\diago\.cargo\registry\src\github.aaakk.us.kg-1ecc6299db9ec823\genawaiter-proc-macro-0.99.0\src\lib.rs:20:5
|
20 | FnArg,
| ^^^^^ no `FnArg` in the root
21 | Ident,
22 | ItemFn,
| ^^^^^^ no `ItemFn` in the root
It seems to me that genawaiter-proc-macro requires the "full" feature of syn, but does not enable it. (How is this not failing on CI testing?)
The text was updated successfully, but these errors were encountered:
Hmm that's a good question. When running the tests the features are included from the [dev-dependencies] right? My guess is that because futures-macro uses syn = ... features = ["full"] so as features are additive this was always secretly enabled. I'll PR to add this.
It seems to me that
genawaiter-proc-macro
requires the"full"
feature ofsyn
, but does not enable it. (How is this not failing on CI testing?)The text was updated successfully, but these errors were encountered: