8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958af10 commit a865fe6Copy full SHA for a865fe6
src/driver.rs
@@ -63,7 +63,7 @@ fn test_arg_value() {
63
struct ClippyCallbacks;
64
65
impl rustc_driver::Callbacks for ClippyCallbacks {
66
- fn after_parsing(&mut self, compiler: &interface::Compiler) -> bool {
+ fn after_parsing(&mut self, compiler: &interface::Compiler) -> rustc_driver::Compilation {
67
let sess = compiler.session();
68
let mut registry = rustc_plugin::registry::Registry::new(
69
sess,
@@ -107,7 +107,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
107
sess.plugin_attributes.borrow_mut().extend(attributes);
108
109
// Continue execution
110
- true
+ rustc_driver::Compilation::Continue
111
}
112
113
0 commit comments