Merge pull request #1321 from EpicatSupercell/master

fixed callback changes from rustc 1.14.0-nightly (7c69b0d5a 2016-11-01)
This commit is contained in:
Oliver Schneider 2016-11-03 21:14:19 +01:00 committed by GitHub
commit 2b1b91bbff

View file

@ -59,12 +59,11 @@ impl<'a> CompilerCalls<'a> for ClippyCompilerCalls {
fn late_callback(&mut self, fn late_callback(&mut self,
matches: &getopts::Matches, matches: &getopts::Matches,
sess: &Session, sess: &Session,
cfg: &ast::CrateConfig,
input: &Input, input: &Input,
odir: &Option<PathBuf>, odir: &Option<PathBuf>,
ofile: &Option<PathBuf>) ofile: &Option<PathBuf>)
-> Compilation { -> Compilation {
self.default.late_callback(matches, sess, cfg, input, odir, ofile) self.default.late_callback(matches, sess, input, odir, ofile)
} }
fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> driver::CompileController<'a> { fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> driver::CompileController<'a> {
let mut control = self.default.build_controller(sess, matches); let mut control = self.default.build_controller(sess, matches);