From: Ian Jackson Date: Tue, 14 Sep 2021 23:09:28 +0000 (+0100) Subject: build fixes for more recent nightly X-Git-Tag: otter-1.0.0~161 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a815ab7ce5f9bb2ebb3b753cea08c47a3336c686;p=otter.git build fixes for more recent nightly Signed-off-by: Ian Jackson --- 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,