fix fulldeps test fallout

This commit is contained in:
Mazdak Farrokhzad 2020-03-31 23:02:59 +02:00
parent 4dfec59eda
commit 0826009638
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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);