Struct ariadne::ReportBuilder [−][src]
pub struct ReportBuilder<S: Span> { /* fields omitted */ }
Expand description
A type used to build a Report
.
Implementations
Give this report a numerical code that may be used to more precisely look up the error in documentation.
Give this report a message.
Add a new label to the diagnostic.
Use the given Config
to determine diagnostic attributes.
Auto Trait Implementations
impl<S> RefUnwindSafe for ReportBuilder<S> where
S: RefUnwindSafe,
<<S as Span>::SourceId as ToOwned>::Owned: RefUnwindSafe,
impl<S> Unpin for ReportBuilder<S> where
S: Unpin,
<<S as Span>::SourceId as ToOwned>::Owned: Unpin,
impl<S> UnwindSafe for ReportBuilder<S> where
S: UnwindSafe,
<<S as Span>::SourceId as ToOwned>::Owned: UnwindSafe,