Fix rebase artifacts.

This commit is contained in:
Huon Wilson 2014-12-05 11:48:50 -08:00
parent 5e5cc6749e
commit 975a57ce43
3 changed files with 1 additions and 3 deletions

View File

@ -32,7 +32,6 @@ use serialize::{json, Encodable};
use std::io;
use std::io::fs;
use std::os;
use save;
use syntax::ast;
use syntax::ast_map;
use syntax::attr;

View File

@ -272,7 +272,7 @@ pub fn trans_fn_pointer_shim<'a, 'tcx>(
bare_fn_ty.repr(tcx));
// This is an impl of `Fn` trait, so receiver is `&self`.
let bare_fn_ty_ref = ty::mk_imm_rptr(tcx, ty::ReStatic, bare_fn_ty);
let bare_fn_ty_ref = ty::mk_imm_rptr(tcx, tcx.mk_region(ty::ReStatic), bare_fn_ty);
// Construct the "tuply" version of `bare_fn_ty`. It takes two arguments: `self`,
// which is the fn pointer, and `args`, which is the arguments tuple.

View File

@ -122,7 +122,6 @@ pub fn run_core(libs: Vec<Path>, cfgs: Vec<String>, externs: Externs,
let arenas = ty::CtxtArenas::new();
let ty::CrateAnalysis {
let driver::CrateAnalysis {
exported_items, public_items, ty_cx, ..
} = driver::phase_3_run_analysis_passes(sess, ast_map, &arenas, name);