pub fn suggest<S: AsRef<str>>(
        mut self,
        at: TextRange,
        message: S,
        suggestion: Suggestion,
    ) -> Self {
        self.diagnostics
            .push(Diagnostic::suggest(at, message, suggestion));
        self
    }
/// Add a diagnostic with a fix to this report
Add a diagnostic with a fix to this report
Add a diagnostic with a fix to this report
pub fn suggest<S: AsRef<str>>(
        mut self,
        at: TextRange,
        message: S,
        suggestion: Suggestion,
    ) -> Self {
        self.diagnostics
            .push(Diagnostic::suggest(at, message, suggestion));
        self
    }
pub fn suggest < S : AsRef < str > > ( mut self , at : TextRange , message : S , suggestion : Suggestion , ) -> Self { self . diagnostics . push ( Diagnostic :: suggest ( at , message , suggestion ) ) ; self }
Add a diagnostic with a fix to this report
Add a diagnostic with a fix to this report
mut self
at
TextRange
message
S
suggestion
Suggestion