Diagnostic
struct · ferroui-static-view-locator-build · v0.5.0
struct Diagnostic
A diagnostic of the generator, with the place in the Rust source when there is one.
Members
code
code: &'static str
SVL0001 to SVL0010.
severity
severity: Severity
message
message: String
file
file: Option<std::path::PathBuf>
The file, when the diagnostic is about an item of the sources.
line
line: usize
The line, from 1; 0 when the diagnostic is about the file.
cargo_line
fn cargo_line(self: &Self) -> String
The diagnostic as a line of Cargo (cargo::error=.. or cargo::warning=..).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringCloneDebugStructuralPartialEqPartialEqEqDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.