Open entropylost opened 3 years ago
Describe the bug
Using macros, including stringify! as arguments to the bound= errors.
stringify!
bound=
To Reproduce
Compile
#[derivative(PartialEq(bound=stringify!()))] struct Foo();
Errors
error: invalid attribute: expected literal
Version (please complete the following information):
rustup --version rustup 1.24.3 (ce5817a94 2021-05-31) cargo --version cargo 1.56.0-nightly (cc17afbb0 2021-08-02) rustc --version rustc 1.56.0-nightly (ae90dcf02 2021-08-09)
derivative
Describe the bug
Using macros, including
stringify!
as arguments to thebound=
errors.To Reproduce
Compile
Errors
Version (please complete the following information):
derivative
: 2.2.0