about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-07-16 15:21:59 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-07-16 16:37:40 +0530
commit30ac7e78e26f1f52fc8c5b56bbdab4cc27bb3263 (patch)
treef97a1adf71f91a3ccd9fa37f9cf9acee9ba625ee /src
parent2a74fa35828f8daa6df00c4414241493dd57555a (diff)
downloadrust-30ac7e78e26f1f52fc8c5b56bbdab4cc27bb3263.tar.gz
rust-30ac7e78e26f1f52fc8c5b56bbdab4cc27bb3263.zip
Fixup #27046 with pattern bindings
Diffstat (limited to 'src')
-rw-r--r--src/librustc_driver/lib.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs
index a8856e42da4..873950b0be8 100644
--- a/src/librustc_driver/lib.rs
+++ b/src/librustc_driver/lib.rs
@@ -202,8 +202,8 @@ pub trait CompilerCalls<'a> {
     // be called straight after options have been parsed but before anything
     // else (e.g., selecting input and output).
     fn early_callback(&mut self,
-                      &getopts::Matches,
-                      &diagnostics::registry::Registry)
+                      _: &getopts::Matches,
+                      _: &diagnostics::registry::Registry)
                       -> Compilation {
         Compilation::Continue
     }
@@ -212,11 +212,11 @@ pub trait CompilerCalls<'a> {
     // be called just before actual compilation starts (and before build_controller
     // is called), after all arguments etc. have been completely handled.
     fn late_callback(&mut self,
-                     &getopts::Matches,
-                     &Session,
-                     &Input,
-                     &Option<PathBuf>,
-                     &Option<PathBuf>)
+                     _: &getopts::Matches,
+                     _: &Session,
+                     _: &Input,
+                     _: &Option<PathBuf>,
+                     _: &Option<PathBuf>)
                      -> Compilation {
         Compilation::Continue
     }
@@ -235,11 +235,11 @@ pub trait CompilerCalls<'a> {
     // emitting error messages. Returning None will cause compilation to stop
     // at this point.
     fn no_input(&mut self,
-                &getopts::Matches,
-                &config::Options,
-                &Option<PathBuf>,
-                &Option<PathBuf>,
-                &diagnostics::registry::Registry)
+                _: &getopts::Matches,
+                _: &config::Options,
+                _: &Option<PathBuf>,
+                _: &Option<PathBuf>,
+                _: &diagnostics::registry::Registry)
                 -> Option<(Input, Option<PathBuf>)> {
         None
     }