From 8a8dd3f33e8c79bc5c1f06009e87ff120900b5c0 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 29 Aug 2024 10:25:30 +1000 Subject: Add `warn(unreachable_pub)` to `rustc_mir_dataflow`. --- compiler/rustc_mir_dataflow/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_mir_dataflow/src/lib.rs') diff --git a/compiler/rustc_mir_dataflow/src/lib.rs b/compiler/rustc_mir_dataflow/src/lib.rs index 8708bebeeb0..9385b52103f 100644 --- a/compiler/rustc_mir_dataflow/src/lib.rs +++ b/compiler/rustc_mir_dataflow/src/lib.rs @@ -5,6 +5,7 @@ #![feature(exact_size_is_empty)] #![feature(let_chains)] #![feature(try_blocks)] +#![warn(unreachable_pub)] // tidy-alphabetical-end use rustc_middle::ty; -- cgit 1.4.1-3-g733a5