Skip to content

Commit bd4c4e7

Browse files
committed
Auto merge of #4287 - matthiaskrgr:rustup_11, r=phansch
rustup rust-lang/rust#62679 changelog: none
2 parents 958af10 + a865fe6 commit bd4c4e7

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)