Add warn(unreachable_pub)
to rustc_driver_impl
.
This commit is contained in:
parent
bf662eb808
commit
e81fad2b4d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user