compiler: Directly use rustc_abi in const_eval
This commit is contained in:
parent
b895bf4fdc
commit
bbd18e29da
17 changed files with 29 additions and 32 deletions
|
@ -2,6 +2,7 @@ use std::borrow::Cow;
|
|||
use std::fmt::Write;
|
||||
|
||||
use either::Either;
|
||||
use rustc_abi::WrappingRange;
|
||||
use rustc_errors::codes::*;
|
||||
use rustc_errors::{
|
||||
Diag, DiagArgValue, DiagCtxtHandle, DiagMessage, Diagnostic, EmissionGuarantee, Level,
|
||||
|
@ -15,8 +16,7 @@ use rustc_middle::mir::interpret::{
|
|||
};
|
||||
use rustc_middle::ty::{self, Mutability, Ty};
|
||||
use rustc_span::{Span, Symbol};
|
||||
use rustc_target::abi::WrappingRange;
|
||||
use rustc_target::abi::call::AdjustForForeignAbiError;
|
||||
use rustc_target::callconv::AdjustForForeignAbiError;
|
||||
|
||||
use crate::interpret::InternKind;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue