Struct ide::Diagnostic
source · pub struct Diagnostic {
pub code: DiagnosticCode,
pub message: String,
pub range: FileRange,
pub severity: Severity,
pub unused: bool,
pub experimental: bool,
pub fixes: Option<Vec<Assist>>,
pub main_node: Option<InFileWrapper<HirFileId, SyntaxNodePtr<RustLanguage>>>,
}
Fields§
§code: DiagnosticCode
§message: String
§range: FileRange
§severity: Severity
§unused: bool
§experimental: bool
§fixes: Option<Vec<Assist>>
§main_node: Option<InFileWrapper<HirFileId, SyntaxNodePtr<RustLanguage>>>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Diagnostic
impl Send for Diagnostic
impl Sync for Diagnostic
impl Unpin for Diagnostic
impl UnwindSafe for Diagnostic
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