Skip to content

Commit f4ee446

Browse files
committed
Remove not needed change
1 parent 9259289 commit f4ee446

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

compiler/rustc_ast_lowering/src/errors.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,15 +523,15 @@ pub(crate) struct UnionWithDefault {
523523
}
524524

525525
#[derive(Diagnostic)]
526-
#[diag("encountered a cycle during delegation signature resolution")]
527-
pub(crate) struct CycleInDelegationSignatureResolution {
526+
#[diag("failed to resolve delegation callee")]
527+
pub(crate) struct UnresolvedDelegationCallee {
528528
#[primary_span]
529529
pub span: Span,
530530
}
531531

532532
#[derive(Diagnostic)]
533-
#[diag("failed to resolve delegation callee")]
534-
pub(crate) struct UnresolvedDelegationCallee {
533+
#[diag("encountered a cycle during delegation signature resolution")]
534+
pub(crate) struct CycleInDelegationSignatureResolution {
535535
#[primary_span]
536536
pub span: Span,
537537
}

0 commit comments

Comments
 (0)