Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Commit b4b88c2

Browse files
authored
Merge pull request #4 from alexcrichton/tmp
Update for rust-lang/rust#44420
2 parents 359910b + 638983f commit b4b88c2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/lib.rs

+8-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ extern crate getopts;
66
extern crate rustc;
77
extern crate rustc_driver;
88
extern crate rustc_errors;
9-
extern crate rustc_resolve;
109
extern crate syntax;
1110

12-
use rustc_driver::{run_compiler, CompilerCalls, RustcDefaultCalls, Compilation, enable_save_analysis, get_args};
13-
use rustc_driver::driver::CompileController;
11+
use rustc::middle::cstore::CrateStore;
1412
use rustc::session::Session;
1513
use rustc::session::config::{self, ErrorOutputType, Input};
14+
use rustc_driver::driver::CompileController;
15+
use rustc_driver::{run_compiler, CompilerCalls, RustcDefaultCalls, Compilation, enable_save_analysis, get_args};
1616
use syntax::ast;
1717

1818
use std::path::PathBuf;
@@ -45,11 +45,12 @@ impl<'a> CompilerCalls<'a> for ShimCalls {
4545
fn late_callback(&mut self,
4646
a: &getopts::Matches,
4747
b: &Session,
48-
c: &Input,
49-
d: &Option<PathBuf>,
50-
e: &Option<PathBuf>)
48+
c: &CrateStore,
49+
d: &Input,
50+
e: &Option<PathBuf>,
51+
f: &Option<PathBuf>)
5152
-> Compilation {
52-
RustcDefaultCalls.late_callback(a, b, c, d, e)
53+
RustcDefaultCalls.late_callback(a, b, c, d, e, f)
5354
}
5455

5556
fn some_input(&mut self,

0 commit comments

Comments
 (0)