Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master and latest crates.io version not compiling #7

Open
netthier opened this issue Sep 3, 2022 · 0 comments
Open

master and latest crates.io version not compiling #7

netthier opened this issue Sep 3, 2022 · 0 comments

Comments

@netthier
Copy link

netthier commented Sep 3, 2022

The latest version currently on crates.io (0.0.2) does not incorporate PR #5 which is needed to use this crate with a recent compiler, therefore a new version should be pushed to crates.io.
Furthermore, the latest version of syn now requires the extra-traits feature to be enabled for some of the traits used in this crate.
Currently, compilation will fail with errors like:

error[E0277]: `AttrStyle` doesn't implement `Debug`
   --> /home/nett/.cargo/git/checkouts/real-async-trait-rs-99511d8d826cde78/1789be6/src/lib.rs:559:9
    |
559 |         assert_eq!(attr.style, AttrStyle::Outer);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AttrStyle` cannot be formatted using `{:?}` because it doesn't implement `Debug`
    |
    = help: the trait `Debug` is not implemented for `AttrStyle`
    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
@netthier netthier changed the title Latest crates.io version broken on current nightly compiler main and latest crates.io version not compiling Sep 3, 2022
@netthier netthier changed the title main and latest crates.io version not compiling master and latest crates.io version not compiling Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant