Skip to content

Commit fba7787

Browse files
committed
Add trait handling
1 parent 64708f7 commit fba7787

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
@@ -697,15 +697,16 @@ pub(crate) struct Linkage {
697697
pub span: Span,
698698
}
699699

700+
#[derive(Diagnostic)]
700701
#[diag(passes_invalid_instruction_set)]
701-
pub struct InvalidInstructionSet {
702+
pub(crate) struct InvalidInstructionSet {
702703
#[primary_span]
703704
pub span: Span,
704705
}
705706

706707
#[derive(Diagnostic)]
707708
#[diag(passes_empty_instruction_set)]
708-
pub struct EmptyInstructionSet {
709+
pub(crate) struct EmptyInstructionSet {
709710
#[primary_span]
710711
pub span: Span,
711712
}

0 commit comments

Comments
 (0)