Skip to content

Commit

Permalink
web-codegen: Add extra-traits to syn features (actix#879)
Browse files Browse the repository at this point in the history
```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`
```
  • Loading branch information
ignatenkobrain authored and fafhrd91 committed Jun 1, 2019
1 parent f1764bb commit 7753b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actix-web-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ proc-macro = true

[dependencies]
quote = "0.6"
syn = { version = "0.15", features = ["full", "parsing"] }
syn = { version = "0.15", features = ["full", "parsing", "extra-traits"] }

[dev-dependencies]
actix-web = { version = "1.0.0-beta.5" }
Expand Down

0 comments on commit 7753b9d

Please sign in to comment.