pub fn hint(&self) -> Option<String> {
        match &self.kind {
            ErrorKind::DefaultIndexDisabled { default_idx, .. } => Some(format!(
                "You can enable the default index using ALTER INDEX {} SET ENABLED",
                default_idx
            )),
            _ => None,
        }
    }
/// Reports a hint for the user about how the error could be fixed.
Reports a hint for the user about how the error could be fixed.
Reports a hint for the user about how the error could be fixed .
pub fn hint(&self) -> Option<String> {
        match &self.kind {
            ErrorKind::DefaultIndexDisabled { default_idx, .. } => Some(format!(
                "You can enable the default index using ALTER INDEX {} SET ENABLED",
                default_idx
            )),
            _ => None,
        }
    }
pub fn hint ( & self ) -> Option < String > { match & self . kind { ErrorKind :: DefaultIndexDisabled { default_idx , .. } => Some ( format ! ( " " default_idx ) ) , _ => None , } }
Reports a hint for the user about how the error could be fixed.
Reports a hint for the user about how the error could be fixed .
&self
&self