Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jul 19, 2019
1 parent 958af10 commit a865fe6
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 a865fe6

Please sign in to comment.