tamer: Rust v1.{68=>70}: Stabalized nonzero_min_max and is_some_and

These two features have been stabalized in Rust 1.70.
main
Mike Gerwitz 2023-04-12 11:42:01 -04:00
parent af43e35567
commit b7aae207c2
2 changed files with 1 additions and 4 deletions

View File

@ -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.68
rustc_ver_req=1.70
AC_CHECK_PROGS(RUSTC, [rustc])
AC_MSG_CHECKING([rustc $RUST_TC version >= $rustc_ver_req])

View File

@ -60,15 +60,12 @@
// in which case this feature's only substitute is a type parameter.
#![feature(associated_type_defaults)]
// Convenience features that are easily replaced if not stabalized.
#![feature(nonzero_min_max)]
#![feature(nonzero_ops)]
// Enabled for qualified paths in `matches!`.
#![feature(more_qualified_paths)]
// Collecting interators into existing objects.
// Can be done manually in a more verbose way.
#![feature(iter_collect_into)]
// Convenience; can be done more verbosely.
#![feature(is_some_and)]
// Used for const params like `&'static str` in `crate::fmt`.
// If this is not stabalized,
// then we can do without by changing the abstraction;