Trait tardar::IteratorExt
source · pub trait IteratorExt: Iterator + Sized {
// Required method
fn into_non_error_diagnostic<'d>(self) -> DiagnosticResult<'d, ()>
where Self: Iterator<Item = BoxedDiagnostic<'d>>;
}
Expand description
Extension methods for Iterator
s.
Required Methods§
sourcefn into_non_error_diagnostic<'d>(self) -> DiagnosticResult<'d, ()>where
Self: Iterator<Item = BoxedDiagnostic<'d>>,
fn into_non_error_diagnostic<'d>(self) -> DiagnosticResult<'d, ()>where Self: Iterator<Item = BoxedDiagnostic<'d>>,
Converts from a type that implements Iterator<Item = BoxedDiagnostic<'d>>
into
DiagnosticResult<'d, ()>
.
The Diagnostic
items of the iterator are interpreted as non-errors. Note that the
Severity
is not examined and so the Diagnostic
s may have error-level severities
despite being interpreted as non-errors.