From: Ian Jackson Date: Wed, 14 Apr 2021 01:17:32 +0000 (+0100) Subject: rust version: Fix to use min_type_alias_impl_trait X-Git-Tag: otter-0.5.0~74 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=aca17baa5c0e4721013558fdded857818389a004;p=otter.git 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 --- 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;