mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Switch to Rust 2021 (#10170)
* Switch to Rust 2021 * Update trybuild to fix errors
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
name = "sp-api-proc-macro"
|
||||
version = "4.0.0-dev"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
homepage = "https://substrate.io"
|
||||
repository = "https://github.com/paritytech/substrate/"
|
||||
|
||||
@@ -786,7 +786,7 @@ fn generate_runtime_info_impl(trait_: &ItemTrait, version: u64) -> TokenStream {
|
||||
quote!(
|
||||
#[cfg(any(feature = "std", test))]
|
||||
impl < #( #impl_generics, )* > #crate_::RuntimeApiInfo
|
||||
for #trait_name < #( #ty_generics, )* >
|
||||
for dyn #trait_name < #( #ty_generics, )* >
|
||||
{
|
||||
#id
|
||||
#version
|
||||
|
||||
Reference in New Issue
Block a user