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

@ -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;