Skip to content

Commit

Permalink
Add warn(unreachable_pub) to rustc_lint_defs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Aug 27, 2024
1 parent f102841 commit e7f1922
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/rustc_lint_defs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// tidy-alphabetical-start
#![warn(unreachable_pub)]
// tidy-alphabetical-end

use rustc_ast::node_id::NodeId;
use rustc_ast::{AttrId, Attribute};
use rustc_data_structures::fx::{FxIndexMap, FxIndexSet};
Expand Down

0 comments on commit e7f1922

Please sign in to comment.