Skip to content

Commit

Permalink
refactor(core): remove #![feature(let_else)]
Browse files Browse the repository at this point in the history
The `let_else` feature was stabilized by [rust-lang/rust#93628][1].

[1]: rust-lang/rust#93628
  • Loading branch information
yvt committed Nov 12, 2022
1 parent bdd370e commit 0808960
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion examples/basic_wio_terminal/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#![feature(naked_functions)]
#![feature(const_mut_refs)]
#![feature(asm_const)]
#![feature(let_else)]
#![deny(unsafe_op_in_unsafe_fn)]
#![no_std]
#![no_main]
Expand Down
1 change: 0 additions & 1 deletion src/r3_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#![feature(never_type)] // `!`
#![feature(const_try)]
#![feature(fn_traits)] // `impl FnOnce`
#![feature(let_else)]
#![feature(doc_cfg)] // `#[doc(cfg(...))]`
#![cfg_attr(test, feature(is_sorted))]
#![deny(unsafe_op_in_unsafe_fn)]
Expand Down
2 changes: 0 additions & 2 deletions src/r3_core/src/utils/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ impl ConstAllocator {
/// #![feature(const_trait_impl)]
/// #![feature(const_mut_refs)]
/// #![feature(const_option)]
/// #![feature(let_else)]
/// #![const_eval_limit = "500000"]
/// use core::{alloc::Layout, ptr::NonNull};
/// use r3_core::utils::{ConstAllocator, Allocator};
Expand Down Expand Up @@ -100,7 +99,6 @@ impl ConstAllocator {
///
/// ```rust,compile_fail,E0080
/// # #![feature(const_trait_impl)]
/// # #![feature(let_else)]
/// # use core::alloc::Layout;
/// # use r3_core::utils::{ConstAllocator, Allocator};
/// # const _: () = ConstAllocator::with(doit);
Expand Down
1 change: 0 additions & 1 deletion src/r3_kernel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#![feature(never_type)] // `!`
#![feature(decl_macro)]
#![feature(pin_macro)]
#![feature(let_else)]
#![feature(doc_cfg)] // `#[doc(cfg(...))]`
#![deny(unsafe_op_in_unsafe_fn)]
#![cfg_attr(
Expand Down
1 change: 0 additions & 1 deletion src/r3_test_runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#![feature(lint_reasons)]
#![feature(decl_macro)] // `macro`
#![feature(pin_macro)] // `core::pin::pin!`
#![feature(let_else)] // `let ... = ... else { ... }`
#![warn(must_not_suspend)]
use anyhow::Context;
use clap::Parser;
Expand Down

0 comments on commit 0808960

Please sign in to comment.