diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 14:30:20 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 14:30:20 +1000 |
| commit | 37becf7bdcff5037cbb214277eb74ef17d8527f0 (patch) | |
| tree | 021162580a6666467ed31cf4af79b03b2b5409ef /compiler/rustc_incremental/src/lib.rs | |
| parent | 7fc04443404914bb7c432c2269d94fd48d569244 (diff) | |
| download | rust-37becf7bdcff5037cbb214277eb74ef17d8527f0.tar.gz rust-37becf7bdcff5037cbb214277eb74ef17d8527f0.zip | |
Add `warn(unreachable_pub)` to `rustc_incremental`.
Diffstat (limited to 'compiler/rustc_incremental/src/lib.rs')
| -rw-r--r-- | compiler/rustc_incremental/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_incremental/src/lib.rs b/compiler/rustc_incremental/src/lib.rs index fcdcb08eed6..c79d108183c 100644 --- a/compiler/rustc_incremental/src/lib.rs +++ b/compiler/rustc_incremental/src/lib.rs @@ -6,6 +6,7 @@ #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end mod assert_dep_graph; |
