Add warn(unreachable_pub) to rustc_lint_defs.
This commit is contained in:
@@ -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};
|
||||||
|
|||||||
Reference in New Issue
Block a user