diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-12-05 11:48:50 -0800 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-12-29 23:55:25 +1100 |
| commit | 975a57ce431456a2877af455d6316c1531192dcf (patch) | |
| tree | 24ffa9a28889a6d2d48c694b53399bdd9acc83cf /src | |
| parent | 5e5cc6749eb16f2820fe291582ded0b035667612 (diff) | |
Fix rebase artifacts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_driver/driver.rs | 1 | ||||
| -rw-r--r-- | src/librustc_trans/trans/callee.rs | 2 | ||||
| -rw-r--r-- | src/librustdoc/core.rs | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index db67b7b4fe8..6b61bd4f72b 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -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; diff --git a/src/librustc_trans/trans/callee.rs b/src/librustc_trans/trans/callee.rs index 8450e99bc28..5d085b54392 100644 --- a/src/librustc_trans/trans/callee.rs +++ b/src/librustc_trans/trans/callee.rs @@ -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. diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index cf249474428..59883f37737 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -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); |
