pub struct AnalysisWarning {
pub message: String,
pub file: String,
pub line: usize,
pub column: Option<usize>,
pub source_line: Option<String>,
}Expand description
Represents a warning with source location.
Fields§
§message: StringThe warning message.
file: StringThe file where the issue was found.
line: usizeThe line number of the issue.
column: Option<usize>The column position (optional).
source_line: Option<String>The exact source line content.
Trait Implementations§
Source§impl Clone for AnalysisWarning
impl Clone for AnalysisWarning
Source§fn clone(&self) -> AnalysisWarning
fn clone(&self) -> AnalysisWarning
Returns a duplicate of the value. Read more
1.0.0 · 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 AnalysisWarning
impl RefUnwindSafe for AnalysisWarning
impl Send for AnalysisWarning
impl Sync for AnalysisWarning
impl Unpin for AnalysisWarning
impl UnsafeUnpin for AnalysisWarning
impl UnwindSafe for AnalysisWarning
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