Skip to content

Commit 8415f1e

Browse files
committed
Add deny(unreachable_pub) to rustc_ast_lowering.
1 parent 2f63394 commit 8415f1e

File tree

4 files changed

+124
-123
lines changed

4 files changed

+124
-123
lines changed

compiler/rustc_ast_lowering/src/delegation.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ use rustc_target::spec::abi;
5555
use std::iter;
5656

5757
pub(crate) struct DelegationResults<'hir> {
58-
pub body_id: hir::BodyId,
59-
pub sig: hir::FnSig<'hir>,
60-
pub generics: &'hir hir::Generics<'hir>,
58+
pub(crate) body_id: hir::BodyId,
59+
pub(crate) sig: hir::FnSig<'hir>,
60+
pub(crate) generics: &'hir hir::Generics<'hir>,
6161
}
6262

6363
impl<'hir> LoweringContext<'_, 'hir> {

0 commit comments

Comments
 (0)