diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 14:47:56 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-27 14:47:56 +1000 |
| commit | 688792715bb1e3c420e896b62ee3e825dce4c174 (patch) | |
| tree | 3453416688c1547da39c95e23141e93f2b8ed99c /compiler/rustc_infer/src/errors/mod.rs | |
| parent | 46fe09f3f3dd724a9a9f1af50f3408a4f8dea25a (diff) | |
| download | rust-688792715bb1e3c420e896b62ee3e825dce4c174.tar.gz rust-688792715bb1e3c420e896b62ee3e825dce4c174.zip | |
Add `warn(unreachable_pub)` to `rustc_infer`.
Diffstat (limited to 'compiler/rustc_infer/src/errors/mod.rs')
| -rw-r--r-- | compiler/rustc_infer/src/errors/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/errors/mod.rs b/compiler/rustc_infer/src/errors/mod.rs index 1a5c0137219..76ea9c3433d 100644 --- a/compiler/rustc_infer/src/errors/mod.rs +++ b/compiler/rustc_infer/src/errors/mod.rs @@ -3,7 +3,7 @@ use rustc_span::Span; #[derive(Diagnostic)] #[diag(infer_opaque_hidden_type)] -pub struct OpaqueHiddenTypeDiag { +pub(crate) struct OpaqueHiddenTypeDiag { #[primary_span] #[label] pub span: Span, |
