Skip to content

Commit a865fe6

Browse files
committed
1 parent 958af10 commit a865fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/driver.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn test_arg_value() {
6363
struct ClippyCallbacks;
6464

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

109109
// Continue execution
110-
true
110+
rustc_driver::Compilation::Continue
111111
}
112112
}
113113

0 commit comments

Comments
 (0)