Skip to content

Instantly share code, notes, and snippets.

@Kiiyya
Created February 23, 2021 22:39
Show Gist options
  • Save Kiiyya/250dc864682cc1fc256f6ac6135db45e to your computer and use it in GitHub Desktop.
Save Kiiyya/250dc864682cc1fc256f6ac6135db45e to your computer and use it in GitHub Desktop.
PS E:\hax\seamless> cargo +stable build
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling version_check v0.9.2
Compiling syn v1.0.60
Compiling async-trait v0.1.42 (https://github.com/SergioBenitez/async-trait#0cda89bd)
Compiling quote v1.0.9
error[E0277]: `Generics` doesn't implement `Debug`
--> C:\Users\Kiiya\.cargo\git\checkouts\async-trait-1832b8d8af21cf46\0cda89b\src\expand.rs:33:9
|
33 | generics: &'a Generics,
| ^^^^^^^^^^^^^^^^^^^^^^ `Generics` cannot be formatted using `{:?}` because it doesn't implement `Debug`
|
= help: the trait `Debug` is not implemented for `Generics`
= note: required because of the requirements on the impl of `Debug` for `&Generics`
= note: 1 redundant requirements hidden
= note: required because of the requirements on the impl of `Debug` for `&&Generics`
= note: required for the cast to the object type `dyn Debug`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `syn::punctuated::Punctuated<TypeParamBound, syn::token::Add>` doesn't implement `Debug`
--> C:\Users\Kiiya\.cargo\git\checkouts\async-trait-1832b8d8af21cf46\0cda89b\src\expand.rs:34:9
|
34 | supertraits: &'a Supertraits,
= note: required for the cast to the object type `dyn Debug`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `Generics` doesn't implement `Debug`
--> C:\Users\Kiiya\.cargo\git\checkouts\async-trait-1832b8d8af21cf46\0cda89b\src\expand.rs:37:9
|
37 | impl_generics: &'a Generics,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Generics` cannot be formatted using `{:?}` because it doesn't implement `Debug`
|
= help: the trait `Debug` is not implemented for `Generics`
= note: required because of the requirements on the impl of `Debug` for `&Generics`
= note: 1 redundant requirements hidden
= note: required because of the requirements on the impl of `Debug` for `&&Generics`
= note: required for the cast to the object type `dyn Debug`
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0277`.
error: could not compile `async-trait`
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment