mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
fix fulldeps test fallout
This commit is contained in:
parent
4dfec59eda
commit
0826009638
@ -1,6 +1,7 @@
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate rustc_codegen_ssa;
|
||||
extern crate rustc_errors;
|
||||
extern crate rustc_middle;
|
||||
#[macro_use]
|
||||
extern crate rustc_data_structures;
|
||||
@ -14,11 +15,11 @@ extern crate rustc_target;
|
||||
use rustc_codegen_ssa::traits::CodegenBackend;
|
||||
use rustc_data_structures::owning_ref::OwningRef;
|
||||
use rustc_data_structures::sync::MetadataRef;
|
||||
use rustc_errors::ErrorReported;
|
||||
use rustc_middle::dep_graph::DepGraph;
|
||||
use rustc_middle::middle::cstore::{EncodedMetadata, MetadataLoader, MetadataLoaderDyn};
|
||||
use rustc_middle::ty::query::Providers;
|
||||
use rustc_middle::ty::TyCtxt;
|
||||
use rustc_middle::util::common::ErrorReported;
|
||||
use rustc_session::config::OutputFilenames;
|
||||
use rustc_session::Session;
|
||||
use rustc_span::symbol::Symbol;
|
||||
|
@ -5,9 +5,10 @@
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate rustc_middle;
|
||||
extern crate rustc_target;
|
||||
|
||||
use rustc_middle::mir::interpret::UndefMask;
|
||||
use rustc_middle::ty::layout::Size;
|
||||
use rustc_target::abi::Size;
|
||||
|
||||
fn main() {
|
||||
let mut mask = UndefMask::new(Size::from_bytes(500), false);
|
||||
|
Loading…
Reference in New Issue
Block a user