Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 25c7753

Browse files
Continue after impl Trait in const fn
1 parent 325b7d4 commit 25c7753

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_mir/src/transform/check_consts

1 file changed

+0
-2
lines changed

compiler/rustc_mir/src/transform/check_consts/ops.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,6 @@ pub mod ty {
605605
#[derive(Debug)]
606606
pub struct ImplTrait;
607607
impl NonConstOp for ImplTrait {
608-
const STOPS_CONST_CHECKING: bool = true;
609-
610608
fn status_in_item(&self, ccx: &ConstCx<'_, '_>) -> Status {
611609
mcf_status_in_item(ccx)
612610
}

0 commit comments

Comments
 (0)