]> git.lizzy.rs Git - rust.git/commitdiff
fixed callback changes from rustc 1.14.0-nightly (7c69b0d5a 2016-11-01)
authorEpicat Supercell <epicatsupercell@gmail.com>
Wed, 2 Nov 2016 19:27:42 +0000 (21:27 +0200)
committerEpicat Supercell <epicatsupercell@gmail.com>
Wed, 2 Nov 2016 19:27:42 +0000 (21:27 +0200)
src/main.rs

index 44c3b61d22cc181fd35ec65a663e221f18d01440..b5ce8019151f6550759160dfdf6343d7aafc7e2e 100644 (file)
@@ -59,12 +59,11 @@ fn no_input(&mut self,
     fn late_callback(&mut self,
                      matches: &getopts::Matches,
                      sess: &Session,
-                     cfg: &ast::CrateConfig,
                      input: &Input,
                      odir: &Option<PathBuf>,
                      ofile: &Option<PathBuf>)
                      -> 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> {
         let mut control = self.default.build_controller(sess, matches);