]> git.proxmox.com Git - rustc.git/blobdiff - vendor/rustfix/src/diagnostics.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / rustfix / src / diagnostics.rs
index 9e0be81e7bae050b35091a1f14155082208607cd..f745b0b2a9211a5847d31113bd5986a06d5bea39 100644 (file)
@@ -33,7 +33,7 @@ pub struct DiagnosticSpan {
     pub column_end: usize,
     /// Is this a "primary" span -- meaning the point, or one of the points,
     /// where the error occurred?
-    is_primary: bool,
+    pub is_primary: bool,
     /// Source text from the start of line_start to the end of line_end.
     pub text: Vec<DiagnosticSpanLine>,
     /// Label that should be placed at this location (if any)