put TryInto and TryFrom in sp_std::prelude (#10183)

* Switch to Rust 2021

* Update trybuild to fix errors

* half baked

* fix

* remove unused import

* remove more warnings

Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Kian Paimani
2021-11-07 23:24:53 +00:00
committed by GitHub
parent ca5b07243f
commit 937b6f246e
39 changed files with 22 additions and 48 deletions
@@ -17,7 +17,7 @@
//! Utilities for remote-testing pallet-bags-list.
use sp_std::convert::TryInto;
use sp_std::prelude::*;
/// A common log target to use.
pub const LOG_TARGET: &'static str = "runtime::bags-list::remote-tests";
@@ -23,7 +23,7 @@ use frame_support::{
};
use remote_externalities::{Builder, Mode, OnlineConfig};
use sp_runtime::traits::Block as BlockT;
use sp_std::convert::TryInto;
use sp_std::prelude::*;
/// Execute the sanity check of the bags-list.
pub async fn execute<Runtime: crate::RuntimeT, Block: BlockT>(