Skip to content

Commit b150f9e

Browse files
committed
---
yaml --- r: 277982 b: refs/heads/auto c: c1c6e99 h: refs/heads/master
1 parent e5e1a06 commit b150f9e

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: aaf56d7086e6dc5e436ec7064898f90295908312
11+
refs/heads/auto: c1c6e99bfd3296954a192d9fe3151a222dd9045c
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/librustc_driver/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ impl<'a> CompilerCalls<'a> for RustcDefaultCalls {
462462
};
463463
control.after_write_deps.callback = box move |state| {
464464
pretty::print_after_write_deps(state.session,
465-
state.cstore.unwrap(),
466465
state.ast_map.unwrap(),
467466
state.input,
468467
&state.expanded_crate.take().unwrap(),

branches/auto/src/librustc_driver/pretty.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ use rustc::session::config::Input;
2626
use rustc_borrowck as borrowck;
2727
use rustc_borrowck::graphviz as borrowck_dot;
2828
use rustc_resolve as resolve;
29-
use rustc_metadata::cstore::CStore;
30-
use rustc_metadata::creader::LocalCrateReader;
3129

3230
use rustc_mir::pretty::write_mir_pretty;
3331
use rustc_mir::graphviz::write_mir_graphviz;
@@ -42,7 +40,6 @@ use syntax::util::small_vector::SmallVector;
4240

4341
use graphviz as dot;
4442

45-
use std::cell::RefCell;
4643
use std::fs::File;
4744
use std::io::{self, Write};
4845
use std::iter;
@@ -813,7 +810,6 @@ pub fn print_after_parsing(sess: &Session,
813810
}
814811

815812
pub fn print_after_write_deps<'tcx, 'a: 'tcx>(sess: &'a Session,
816-
cstore: &CStore,
817813
ast_map: &hir_map::Map<'tcx>,
818814
input: &Input,
819815
krate: &ast::Crate,
@@ -826,7 +822,7 @@ pub fn print_after_write_deps<'tcx, 'a: 'tcx>(sess: &'a Session,
826822
let _ignore = dep_graph.in_ignore();
827823

828824
if ppm.needs_analysis() {
829-
print_with_analysis(sess, cstore, ast_map, crate_name, arenas, ppm, opt_uii, ofile);
825+
print_with_analysis(sess, ast_map, crate_name, arenas, ppm, opt_uii, ofile);
830826
return;
831827
}
832828

@@ -917,7 +913,6 @@ pub fn print_after_write_deps<'tcx, 'a: 'tcx>(sess: &'a Session,
917913
// with a different callback than the standard driver, so that isn't easy.
918914
// Instead, we call that function ourselves.
919915
fn print_with_analysis<'tcx, 'a: 'tcx>(sess: &'a Session,
920-
cstore: &CStore,
921916
ast_map: &hir_map::Map<'tcx>,
922917
crate_name: &str,
923918
arenas: &'tcx ty::CtxtArenas<'tcx>,

0 commit comments

Comments
 (0)