From a815ab7ce5f9bb2ebb3b753cea08c47a3336c686 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 15 Sep 2021 00:09:28 +0100 Subject: [PATCH] build fixes for more recent nightly Signed-off-by: Ian Jackson --- src/lib.rs | 2 +- src/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1a08f1d7..fbeacecb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: AGPL-3.0-or-later // There is NO WARRANTY. -#![feature(min_type_alias_impl_trait)] +#![feature(type_alias_impl_trait)] #![allow(clippy::redundant_closure_call)] pub mod imports; diff --git a/src/utils.rs b/src/utils.rs index b9650988..4fd153da 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -417,7 +417,7 @@ macro_rules! want { want_failed_internal!{ $variant(_)=$input, x, $($d),* } None }, - }; + } ); { $variant:ident = $input:expr } => { want!( $variant = $input, -- 2.30.2