Skip to content

Commit e81fad2

Browse files
committed
Add warn(unreachable_pub) to rustc_driver_impl.
1 parent bf662eb commit e81fad2

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_driver_impl/src

1 file changed

+1
-0
lines changed

compiler/rustc_driver_impl/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#![feature(panic_update_hook)]
1616
#![feature(result_flattening)]
1717
#![feature(rustdoc_internals)]
18+
#![warn(unreachable_pub)]
1819
// tidy-alphabetical-end
1920

2021
use std::cmp::max;

0 commit comments

Comments
 (0)