diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-30 15:23:49 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-03 08:49:54 +1000 |
| commit | c4f6f52139f6a708ad183ec2cb619429d2c5eaaa (patch) | |
| tree | cd1774c93ad15b1df03d29d6ff3476954409efca /compiler/rustc_traits/src/lib.rs | |
| parent | 0fb3a509cf437610b4329003de5bc1552aa7e540 (diff) | |
| download | rust-c4f6f52139f6a708ad183ec2cb619429d2c5eaaa.tar.gz rust-c4f6f52139f6a708ad183ec2cb619429d2c5eaaa.zip | |
Add `warn(unreachable_pub)` to `rustc_traits`.
Diffstat (limited to 'compiler/rustc_traits/src/lib.rs')
| -rw-r--r-- | compiler/rustc_traits/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_traits/src/lib.rs b/compiler/rustc_traits/src/lib.rs index 697c8391803..d2f979bd6d9 100644 --- a/compiler/rustc_traits/src/lib.rs +++ b/compiler/rustc_traits/src/lib.rs @@ -2,6 +2,7 @@ // tidy-alphabetical-start #![recursion_limit = "256"] +#![warn(unreachable_pub)] // tidy-alphabetical-end mod codegen; |
