Enable rust_2018_idioms warning
This commit is contained in:
parent
9f8624e5bf
commit
a6601f2d02
7 changed files with 29 additions and 60 deletions
|
@ -5,12 +5,10 @@
|
|||
#![feature(macro_vis_matcher)]
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(missing_docs_in_private_items)]
|
||||
#![warn(rust_2018_idioms)]
|
||||
|
||||
extern crate rustc_plugin;
|
||||
use rustc_plugin::Registry;
|
||||
|
||||
extern crate clippy_lints;
|
||||
|
||||
#[plugin_registrar]
|
||||
pub fn plugin_registrar(reg: &mut Registry) {
|
||||
reg.sess.lint_store.with_read_lock(|lint_store| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue