Fix incorrect use of syn::exports (#7838)
* Fix incorrect use of syn::exports Instead of using `syn::exports` we should import the trait from the quote crate directly. * Use own macro for test cases to fix compilation with latest syn * Fix test
Showing
- substrate/Cargo.lock 3 additions, 16 deletionssubstrate/Cargo.lock
- substrate/client/chain-spec/derive/Cargo.toml 1 addition, 1 deletionsubstrate/client/chain-spec/derive/Cargo.toml
- substrate/client/cli/proc-macro/Cargo.toml 1 addition, 1 deletionsubstrate/client/cli/proc-macro/Cargo.toml
- substrate/client/executor/Cargo.toml 1 addition, 1 deletionsubstrate/client/executor/Cargo.toml
- substrate/client/executor/src/integration_tests/mod.rs 59 additions, 57 deletionssubstrate/client/executor/src/integration_tests/mod.rs
- substrate/client/executor/src/integration_tests/sandbox.rs 11 additions, 21 deletionssubstrate/client/executor/src/integration_tests/sandbox.rs
- substrate/frame/staking/reward-curve/Cargo.toml 1 addition, 1 deletionsubstrate/frame/staking/reward-curve/Cargo.toml
- substrate/frame/support/procedural/Cargo.toml 1 addition, 1 deletionsubstrate/frame/support/procedural/Cargo.toml
- substrate/frame/support/procedural/src/storage/parse.rs 1 addition, 1 deletionsubstrate/frame/support/procedural/src/storage/parse.rs
- substrate/frame/support/procedural/tools/Cargo.toml 1 addition, 1 deletionsubstrate/frame/support/procedural/tools/Cargo.toml
- substrate/frame/support/procedural/tools/derive/Cargo.toml 1 addition, 1 deletionsubstrate/frame/support/procedural/tools/derive/Cargo.toml
- substrate/primitives/api/proc-macro/Cargo.toml 1 addition, 1 deletionsubstrate/primitives/api/proc-macro/Cargo.toml
- substrate/primitives/debug-derive/Cargo.toml 1 addition, 1 deletionsubstrate/primitives/debug-derive/Cargo.toml
- substrate/primitives/npos-elections/compact/Cargo.toml 1 addition, 1 deletionsubstrate/primitives/npos-elections/compact/Cargo.toml
- substrate/primitives/runtime-interface/proc-macro/Cargo.toml 1 addition, 1 deletionsubstrate/primitives/runtime-interface/proc-macro/Cargo.toml
- substrate/test-utils/derive/Cargo.toml 1 addition, 1 deletionsubstrate/test-utils/derive/Cargo.toml
Please register or sign in to comment