Add warn(unreachable_pub) to rustc_driver_impl.

This commit is contained in:
Nicholas Nethercote 2024-08-27 11:47:25 +10:00
parent bf662eb808
commit e81fad2b4d

View File

@ -15,6 +15,7 @@
#![feature(panic_update_hook)] #![feature(panic_update_hook)]
#![feature(result_flattening)] #![feature(result_flattening)]
#![feature(rustdoc_internals)] #![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end // tidy-alphabetical-end
use std::cmp::max; use std::cmp::max;