Skip to content

Commit 975a57c

Browse files
committed
Fix rebase artifacts.
1 parent 5e5cc67 commit 975a57c

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/librustc_driver/driver.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ use serialize::{json, Encodable};
3232
use std::io;
3333
use std::io::fs;
3434
use std::os;
35-
use save;
3635
use syntax::ast;
3736
use syntax::ast_map;
3837
use syntax::attr;

src/librustc_trans/trans/callee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ pub fn trans_fn_pointer_shim<'a, 'tcx>(
272272
bare_fn_ty.repr(tcx));
273273

274274
// This is an impl of `Fn` trait, so receiver is `&self`.
275-
let bare_fn_ty_ref = ty::mk_imm_rptr(tcx, ty::ReStatic, bare_fn_ty);
275+
let bare_fn_ty_ref = ty::mk_imm_rptr(tcx, tcx.mk_region(ty::ReStatic), bare_fn_ty);
276276

277277
// Construct the "tuply" version of `bare_fn_ty`. It takes two arguments: `self`,
278278
// which is the fn pointer, and `args`, which is the arguments tuple.

src/librustdoc/core.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ pub fn run_core(libs: Vec<Path>, cfgs: Vec<String>, externs: Externs,
122122

123123
let arenas = ty::CtxtArenas::new();
124124
let ty::CrateAnalysis {
125-
let driver::CrateAnalysis {
126125
exported_items, public_items, ty_cx, ..
127126
} = driver::phase_3_run_analysis_passes(sess, ast_map, &arenas, name);
128127

0 commit comments

Comments
 (0)