mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Auto merge of #4287 - matthiaskrgr:rustup_11, r=phansch
rustup https://github.com/rust-lang/rust/pull/62679/ changelog: none
This commit is contained in:
commit
bd4c4e7e73
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
@ -107,7 +107,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
|
|||
sess.plugin_attributes.borrow_mut().extend(attributes);
|
||||
|
||||
// Continue execution
|
||||
true
|
||||
rustc_driver::Compilation::Continue
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue