[−][src]Struct rslint_core::LintResult
The result of linting a file.
Fields
parser_diagnostics: Vec<Diagnostic>
Any diagnostics (errors, warnings, etc) emitted from the parser
store: &'s CstRuleStore
The store used for the lint run
rule_diagnostics: HashMap<&'static str, Vec<Diagnostic>>
The diagnostics emitted by each rule run
directive_diagnostics: Vec<Diagnostic>
Any warnings or errors emitted by the directive parser
Implementations
impl<'_> LintResult<'_>
[src]
pub fn diagnostics(&self) -> impl Iterator<Item = &Diagnostic>
[src]
Get all of the diagnostics thrown during linting, in the order of parser diagnostics, then the diagnostics of each rule sequentially.
pub fn outcome(&self) -> Outcome
[src]
The overall outcome of linting this file (failure, warning, success, etc)
Trait Implementations
Auto Trait Implementations
impl<'s> !RefUnwindSafe for LintResult<'s>
impl<'s> Send for LintResult<'s>
impl<'s> Sync for LintResult<'s>
impl<'s> Unpin for LintResult<'s>
impl<'s> !UnwindSafe for LintResult<'s>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erasable for T
unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>
const ACK_1_1_0: bool
fn erase(this: NonNull<Self>) -> NonNull<Erased>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,