mirror of https://github.com/rust-lang/rust.git
Fix compilation on latest nightly
The ability for plugins to add MIR passes was removed as of 4ca9c97ac
.
Luckily, we don't use this feature at all and can safely ignore it.
Fixes #1618
This commit is contained in:
parent
b48243c08c
commit
9aebb59a68
|
@ -89,7 +89,6 @@ impl<'a> CompilerCalls<'a> for ClippyCompilerCalls {
|
|||
lint_groups,
|
||||
llvm_passes,
|
||||
attributes,
|
||||
mir_passes,
|
||||
.. } = registry;
|
||||
let sess = &state.session;
|
||||
let mut ls = sess.lint_store.borrow_mut();
|
||||
|
@ -105,7 +104,6 @@ impl<'a> CompilerCalls<'a> for ClippyCompilerCalls {
|
|||
}
|
||||
|
||||
sess.plugin_llvm_passes.borrow_mut().extend(llvm_passes);
|
||||
sess.mir_passes.borrow_mut().extend(mir_passes);
|
||||
sess.plugin_attributes.borrow_mut().extend(attributes);
|
||||
}
|
||||
old(state);
|
||||
|
|
Loading…
Reference in New Issue