diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-08 19:03:14 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-13 08:02:14 +1000 |
| commit | 4497d345a8196554021f6d145b86bfc814c954d3 (patch) | |
| tree | 37e1dbda692a2adc697242abadcc0f1f539c8249 /compiler/rustc_const_eval/src/interpret/step.rs | |
| parent | f12e9357955c915bb5b34f5917eb016647410c71 (diff) | |
| download | rust-4497d345a8196554021f6d145b86bfc814c954d3.tar.gz rust-4497d345a8196554021f6d145b86bfc814c954d3.zip | |
Remove `extern crate rustc_middle` from `rustc_const_eval`.
This requires exporting the interpreter macros so they can be used with `use crate::interpret::*`.
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/step.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/step.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/step.rs b/compiler/rustc_const_eval/src/interpret/step.rs index b29034e991e..ee415c380de 100644 --- a/compiler/rustc_const_eval/src/interpret/step.rs +++ b/compiler/rustc_const_eval/src/interpret/step.rs @@ -7,6 +7,7 @@ use either::Either; use rustc_index::IndexSlice; use rustc_middle::mir; use rustc_middle::ty::layout::LayoutOf; +use rustc_middle::{bug, span_bug}; use rustc_target::abi::{FieldIdx, FIRST_VARIANT}; use super::{ |
