about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-12 20:44:58 +0000
committerbors <bors@rust-lang.org>2022-06-12 20:44:58 +0000
commit546c826f0ccaab36e897860205281f490db274e6 (patch)
tree91962297a92526402d5e102b251cf99474051dda /compiler/rustc_const_eval/src
parent4153a2ec45f79b4ddf1968b163590f3d1130007f (diff)
parenta6c6fa0e33b362b7b6be5e9c68d1dc94a735af16 (diff)
downloadrust-546c826f0ccaab36e897860205281f490db274e6.tar.gz
rust-546c826f0ccaab36e897860205281f490db274e6.zip
Auto merge of #98018 - scottmcm:miri-yeet, r=RalfJung
Try out `yeet` in the MIR interpreter

Since we got a new bootstrap, we can give this a shot.

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_const_eval/src')
-rw-r--r--compiler/rustc_const_eval/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/lib.rs b/compiler/rustc_const_eval/src/lib.rs
index d2b5ef8ea6f..04410ca3828 100644
--- a/compiler/rustc_const_eval/src/lib.rs
+++ b/compiler/rustc_const_eval/src/lib.rs
@@ -20,6 +20,7 @@ Rust MIR: a lowered representation of Rust.
 #![feature(trusted_len)]
 #![feature(trusted_step)]
 #![feature(try_blocks)]
+#![feature(yeet_expr)]
 #![recursion_limit = "256"]
 #![allow(rustc::potential_query_instability)]