From a2e6e37ed193a06227bb1fd56d6a48b5f1ef9e03 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 2 May 2022 11:05:32 -0400 Subject: [PATCH] tamer: Bump nightly Rust version 1.{57=>62} This removes a couple of feature flags that are no longer necessary. --- tamer/configure.ac | 2 +- tamer/src/lib.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tamer/configure.ac b/tamer/configure.ac index f13ce3a7..13b79fec 100644 --- a/tamer/configure.ac +++ b/tamer/configure.ac @@ -56,7 +56,7 @@ test -n "$CARGO" || AC_MSG_ERROR([cargo not found]) AC_SUBST([CARGO_FLAGS], "--frozen --offline") # This is a nightly version at the time of writing -rustc_ver_req=1.57.0 +rustc_ver_req=1.62 AC_CHECK_PROGS(RUSTC, [rustc]) AC_MSG_CHECKING([rustc $RUST_TC version >= $rustc_ver_req]) diff --git a/tamer/src/lib.rs b/tamer/src/lib.rs index 32bb7d55..2eccd3d2 100644 --- a/tamer/src/lib.rs +++ b/tamer/src/lib.rs @@ -21,11 +21,10 @@ // Constant functions are still in their infancy as of the time of writing // (October 2021). -// These two features are used by [`sym::prefill::st_as_sym`] to provide +// These this feature is used by [`sym::prefill::st_as_sym`] to provide // polymorphic symbol types despite Rust's lack of support for constant // trait methods. // See that function for more information. -#![feature(const_fn_trait_bound)] #![feature(const_transmute_copy)] // This is used to unwrap const Option results rather than providing // panicing alternatives. @@ -51,9 +50,6 @@ // We _could_ do without, // but this provides a nicer API. #![feature(explicit_generic_args_with_impl_trait)] -// This simply removes a boilerplate `Default` impl; -// we can do without if this does not get finalized. -#![feature(derive_default_enum)] // For `Try` and `FromResidual`, // allowing us to write our own `?`-compatible types. #![feature(try_trait_v2)]