pub struct PluginIssue {
pub name: String,
pub message: String,
pub severity: Severity,
pub span: Option<Span>,
}Expand description
An issue raised by a plugin. Converted by the analyzer into
IssueKind::PluginIssue with a proper source Location.
Fields§
§name: StringIssue name used for display and suppression matching
(@mir-suppress MyIssueName, <MyIssueName errorLevel="suppress"/>).
message: String§severity: Severity§span: Option<Span>Span the issue points at. None means the span of the event’s node.
Implementations§
Trait Implementations§
Source§impl Clone for PluginIssue
impl Clone for PluginIssue
Source§fn clone(&self) -> PluginIssue
fn clone(&self) -> PluginIssue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginIssue
impl RefUnwindSafe for PluginIssue
impl Send for PluginIssue
impl Sync for PluginIssue
impl Unpin for PluginIssue
impl UnsafeUnpin for PluginIssue
impl UnwindSafe for PluginIssue
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