compiler: Directly use rustc_abi in const_eval

This commit is contained in:
Jubilee Young
2024-11-02 19:32:52 -07:00
parent b895bf4fdc
commit bbd18e29da
17 changed files with 29 additions and 32 deletions

View File

@@ -1,9 +1,9 @@
// Not in interpret to make sure we do not use private implementation details
use rustc_abi::VariantIdx;
use rustc_middle::query::{Key, TyCtxtAt};
use rustc_middle::ty::{self, Ty, TyCtxt};
use rustc_middle::{bug, mir};
use rustc_target::abi::VariantIdx;
use tracing::instrument;
use crate::interpret::InterpCx;