Skip to content

Commit 2d1fa8c

Browse files
committed
Add trait handling
1 parent 3d8c455 commit 2d1fa8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/rustc_passes/src/errors.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,15 +690,16 @@ pub(crate) struct Linkage {
690690
pub span: Span,
691691
}
692692

693+
#[derive(Diagnostic)]
693694
#[diag(passes_invalid_instruction_set)]
694-
pub struct InvalidInstructionSet {
695+
pub(crate) struct InvalidInstructionSet {
695696
#[primary_span]
696697
pub span: Span,
697698
}
698699

699700
#[derive(Diagnostic)]
700701
#[diag(passes_empty_instruction_set)]
701-
pub struct EmptyInstructionSet {
702+
pub(crate) struct EmptyInstructionSet {
702703
#[primary_span]
703704
pub span: Span,
704705
}

0 commit comments

Comments
 (0)