pub fn suggest<S: AsRef<str>>(at: TextRange, message: S, suggestion: Suggestion) -> Self {
        Self {
            at,
            message: message.as_ref().into(),
            suggestion: Some(suggestion),
        }
    }
/// Construct a diagnostic with a fix.
Construct a diagnostic with a fix.
Construct a diagnostic with a fix .
pub fn suggest<S: AsRef<str>>(at: TextRange, message: S, suggestion: Suggestion) -> Self {
        Self {
            at,
            message: message.as_ref().into(),
            suggestion: Some(suggestion),
        }
    }
pub fn suggest < S : AsRef < str > > ( at : TextRange , message : S , suggestion : Suggestion ) -> Self { Self { at , message : message . as_ref ( ) . into ( ) , suggestion : Some ( suggestion ) , } }
Construct a diagnostic with a fix.
Construct a diagnostic with a fix .
at
TextRange
message
S
suggestion
Suggestion