chiark / gitweb /
rust version: Fix to use min_type_alias_impl_trait
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Apr 2021 01:17:32 +0000 (02:17 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Apr 2021 20:38:58 +0000 (21:38 +0100)
This was split off since I last updated.

Reported-by: Aldabra Stoddart <aldabra@gmail.com>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
docs/build.rst
src/lib.rs

index c438cb8c722647d9faee666bbe8c261835158bb5..25dc043983b96d4e6057962fa3f5bdc2abfa0ae9 100644 (file)
@@ -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::
 
index 73d51a29eae8e189a8f88b819fd49c0c261a7617..c9f5ecad9f2766e69ad0dab2614724e201e21d05 100644 (file)
@@ -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;