Add warn(unreachable_pub) to rustc_ast_lowering.

This commit is contained in:
Nicholas Nethercote
2024-06-11 10:46:06 +10:00
parent f839309c74
commit ea014b4d75
3 changed files with 42 additions and 41 deletions

View File

@@ -37,6 +37,7 @@
#![feature(box_patterns)]
#![feature(let_chains)]
#![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
use std::collections::hash_map::Entry;