From 374b4c9ceaf1b97d89b3be80391dec1fa4ce1a06 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Thu, 28 Jul 2022 13:07:06 +0100 Subject: [PATCH] Revert "chore: upgrade to nightly-2022-06-20" This reverts commit a87b256efb4e361dda5e01f1dd67faa1f3742462. Signed-off-by: Gregory Hill --- crates/currency/src/lib.rs | 1 + rust-toolchain.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/currency/src/lib.rs b/crates/currency/src/lib.rs index b03afe2229..0644a00ad4 100644 --- a/crates/currency/src/lib.rs +++ b/crates/currency/src/lib.rs @@ -3,6 +3,7 @@ #![deny(warnings)] #![cfg_attr(test, feature(proc_macro_hygiene))] #![cfg_attr(not(feature = "std"), no_std)] +#![feature(const_fn_trait_bound)] #[cfg(test)] mod mock; diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0dba4b87e5..7f5ec5b99a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2022-06-20" +channel = "nightly-2022-02-08" components = [ "rustfmt", "rls" ] targets = [ "wasm32-unknown-unknown" ]