pub struct FileDiagnostics {
pub source: SourceMap,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Diagnostics emitted while indexing one project file, paired with the source so the consumer can render them at correct positions.
Fields§
§source: SourceMap§diagnostics: Vec<Diagnostic>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileDiagnostics
impl RefUnwindSafe for FileDiagnostics
impl Send for FileDiagnostics
impl Sync for FileDiagnostics
impl Unpin for FileDiagnostics
impl UnsafeUnpin for FileDiagnostics
impl UnwindSafe for FileDiagnostics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more