Skip to content

Commit

Permalink
Auto merge of rust-lang#4287 - matthiaskrgr:rustup_11, r=phansch
Browse files Browse the repository at this point in the history
rustup rust-lang#62679

changelog: none
  • Loading branch information
bors committed Jul 19, 2019
2 parents 958af10 + a865fe6 commit bd4c4e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn test_arg_value() {
struct ClippyCallbacks;

impl rustc_driver::Callbacks for ClippyCallbacks {
fn after_parsing(&mut self, compiler: &interface::Compiler) -> bool {
fn after_parsing(&mut self, compiler: &interface::Compiler) -> rustc_driver::Compilation {
let sess = compiler.session();
let mut registry = rustc_plugin::registry::Registry::new(
sess,
Expand Down Expand Up @@ -107,7 +107,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
sess.plugin_attributes.borrow_mut().extend(attributes);

// Continue execution
true
rustc_driver::Compilation::Continue
}
}

Expand Down

0 comments on commit bd4c4e7

Please sign in to comment.