Add warn(unreachable_pub)
to rustc_lint_defs
.
This commit is contained in:
parent
f10284162f
commit
e7f1922abd
@ -1,3 +1,7 @@
|
|||||||
|
// tidy-alphabetical-start
|
||||||
|
#![warn(unreachable_pub)]
|
||||||
|
// tidy-alphabetical-end
|
||||||
|
|
||||||
use rustc_ast::node_id::NodeId;
|
use rustc_ast::node_id::NodeId;
|
||||||
use rustc_ast::{AttrId, Attribute};
|
use rustc_ast::{AttrId, Attribute};
|
||||||
use rustc_data_structures::fx::{FxIndexMap, FxIndexSet};
|
use rustc_data_structures::fx::{FxIndexMap, FxIndexSet};
|
||||||
|
Loading…
Reference in New Issue
Block a user