Add `warn(unreachable_pub)` to `rustc_error_codes`.

This commit is contained in:
Nicholas Nethercote 2024-08-27 11:49:59 +10:00
parent e81fad2b4d
commit d607cfb336
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#![deny(rustdoc::invalid_codeblock_attributes)]
#![doc(rust_logo)]
#![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
// This higher-order macro defines the error codes that are in use. It is used