diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-30 15:53:47 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-03 08:49:54 +1000 |
| commit | 2e358e633d3af1dd6a4138c6c53b9d5d97f3a202 (patch) | |
| tree | 4581bee36f6b239d4ca044304f1a8c82f4df879c /compiler/rustc_trait_selection/src/lib.rs | |
| parent | c4f6f52139f6a708ad183ec2cb619429d2c5eaaa (diff) | |
| download | rust-2e358e633d3af1dd6a4138c6c53b9d5d97f3a202.tar.gz rust-2e358e633d3af1dd6a4138c6c53b9d5d97f3a202.zip | |
Add `warn(unreachable_pub)` to `rustc_trait_selection`.
Diffstat (limited to 'compiler/rustc_trait_selection/src/lib.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/lib.rs b/compiler/rustc_trait_selection/src/lib.rs index aea47c9e987..a17c007debd 100644 --- a/compiler/rustc_trait_selection/src/lib.rs +++ b/compiler/rustc_trait_selection/src/lib.rs @@ -32,6 +32,7 @@ #![feature(unwrap_infallible)] #![feature(yeet_expr)] #![recursion_limit = "512"] // For rustdoc +#![warn(unreachable_pub)] // For rustdoc // tidy-alphabetical-end pub mod error_reporting; |
