mirror of https://github.com/fafhrd91/actix-web
web-codegen: Add extra-traits to syn features
```rust
error[E0277]: `syn::attr::NestedMeta` doesn't implement `std::fmt::Debug`
--> src/route.rs:149:57
|
149 | attr => panic!("Unknown attribute{:?}", attr),
| ^^^^ `syn::attr::NestedMeta` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `syn::attr::NestedMeta`
= note: required because of the requirements on the impl of `std::fmt::Debug` for `&syn::attr::NestedMeta`
= note: required by `std::fmt::Debug::fmt`
```
This commit is contained in:
parent
f1764bba43
commit
1fcc0f40ad
|
|
@ -13,7 +13,7 @@ proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quote = "0.6"
|
quote = "0.6"
|
||||||
syn = { version = "0.15", features = ["full", "parsing"] }
|
syn = { version = "0.15", features = ["full", "parsing", "extra-traits"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-web = { version = "1.0.0-beta.5" }
|
actix-web = { version = "1.0.0-beta.5" }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue