Skip to content

Commit afd567c

Browse files
committed
Fix comment
1 parent 26dfaef commit afd567c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

compiler/rustc_ast_lowering/src/delegation.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
181181

182182
let sig_id = self.tcx.delegations_resolutions(()).get(&self.owner.def_id).copied();
183183

184-
// Delegation can be unresolved in illegal places such as function bodies in extern blocks (see #151356)
184+
// Delegation can be missing from the `delegations_resolutions` table
185+
// in illegal places such as function bodies in extern blocks (see #151356).
185186
let Some(Ok(sig_id)) = sig_id else {
186187
self.dcx().span_delayed_bug(
187188
span,

0 commit comments

Comments
 (0)