Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit b70d575

Browse files
authored
Merge pull request #207 from P1n3appl3/master
Make Diagnostic::is_primary public
2 parents 9878d16 + 4e61922 commit b70d575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub struct DiagnosticSpan {
3333
pub column_end: usize,
3434
/// Is this a "primary" span -- meaning the point, or one of the points,
3535
/// where the error occurred?
36-
is_primary: bool,
36+
pub is_primary: bool,
3737
/// Source text from the start of line_start to the end of line_end.
3838
pub text: Vec<DiagnosticSpanLine>,
3939
/// Label that should be placed at this location (if any)

0 commit comments

Comments
 (0)