pub trait SemanticDiagnosticsBuilder {
// Required methods
fn report(
&mut self,
stable_ptr: impl Into<SyntaxStablePtrId>,
kind: SemanticDiagnosticKind
) -> DiagnosticAdded;
fn report_after(
&mut self,
stable_ptr: impl Into<SyntaxStablePtrId>,
kind: SemanticDiagnosticKind
) -> DiagnosticAdded;
}
Required Methods§
sourcefn report(
&mut self,
stable_ptr: impl Into<SyntaxStablePtrId>,
kind: SemanticDiagnosticKind
) -> DiagnosticAdded
fn report( &mut self, stable_ptr: impl Into<SyntaxStablePtrId>, kind: SemanticDiagnosticKind ) -> DiagnosticAdded
Report a diagnostic in the location of the given ptr.
sourcefn report_after(
&mut self,
stable_ptr: impl Into<SyntaxStablePtrId>,
kind: SemanticDiagnosticKind
) -> DiagnosticAdded
fn report_after( &mut self, stable_ptr: impl Into<SyntaxStablePtrId>, kind: SemanticDiagnosticKind ) -> DiagnosticAdded
Report a diagnostic in the location after the given ptr (with width 0).
Object Safety§
This trait is not object safe.