Add warn(unreachable_pub) to rustc_mir_dataflow.

This commit is contained in:
Nicholas Nethercote
2024-08-29 10:25:30 +10:00
parent c16e2899dc
commit 8a8dd3f33e
4 changed files with 8 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ use crate::errors::{
};
use crate::framework::BitSetExt;
pub type EntrySets<'tcx, A> = IndexVec<BasicBlock, <A as AnalysisDomain<'tcx>>::Domain>;
type EntrySets<'tcx, A> = IndexVec<BasicBlock, <A as AnalysisDomain<'tcx>>::Domain>;
/// A dataflow analysis that has converged to fixpoint.
#[derive(Clone)]