From aca17baa5c0e4721013558fdded857818389a004 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 14 Apr 2021 02:17:32 +0100 Subject: [PATCH] rust version: Fix to use min_type_alias_impl_trait This was split off since I last updated. Reported-by: Aldabra Stoddart Signed-off-by: Ian Jackson --- docs/build.rst | 7 ++++--- src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/build.rst b/docs/build.rst index c438cb8c..25dc0439 100644 --- a/docs/build.rst +++ b/docs/build.rst @@ -40,10 +40,11 @@ Setup rustup target add wasm32-unknown-unknown Unfortunately, it is possible that the Rust Nightly you find when - you run this is missing some pieces. The following is known to - work (with otter from the time of writing):: + you run this is missing some pieces, or is not compatible with the + version of Otter you have. The following is known to work (with + otter from the time of writing):: - rustup default nightly-2021-01-26 + rustup default nightly-2021-04-13 4. Install the ``usvg`` SVG launderer, which we need for shape libraries:: diff --git a/src/lib.rs b/src/lib.rs index 73d51a29..c9f5ecad 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(type_alias_impl_trait)] +#![feature(min_type_alias_impl_trait)] #![allow(clippy::redundant_closure_call)] pub mod imports; -- 2.30.2