mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Update clippy
This commit is contained in:
parent
f0c3543f53
commit
ed894777a1
2 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@
|
|||
#![deny(unsafe_code)]
|
||||
|
||||
#[cfg(feature = "clippy")]
|
||||
extern crate clippy;
|
||||
extern crate clippy_lints;
|
||||
#[macro_use]
|
||||
extern crate rustc;
|
||||
extern crate rustc_plugin;
|
||||
|
@ -60,7 +60,7 @@ pub fn plugin_registrar(reg: &mut Registry) {
|
|||
|
||||
#[cfg(feature = "clippy")]
|
||||
fn register_clippy(reg: &mut Registry) {
|
||||
::clippy::plugin_registrar(reg);
|
||||
::clippy_lints::register_plugins(reg);
|
||||
}
|
||||
#[cfg(not(feature = "clippy"))]
|
||||
fn register_clippy(_reg: &mut Registry) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue