message: Replace local variable dialect to const variable
diff: @@ -8,10 +8,10 @@ use {
  },
  };
  -pub fn parse<Sql: AsRef<str>>(sql: Sql) -> Result<Vec<SqlStatement>> {
  - let dialect = GenericDialect {};
  +const DIALECT: GenericDialect = GenericDialect {};
  - Parser::parse_sql(&dialect, sql.as_ref()).map_err(|e| Error::Parser(format!("{:#?}", e)))
  +pub fn parse<Sql: AsRef<str>>(sql: Sql) -> Result<Vec<SqlStatement>> {
  + Parser::parse_sql(&DIALECT, sql.as_ref()).map_err(|e| Error::Parser(format!("{:#?}", e)))
  }
  pub fn parse_query<Sql: AsRef<str>>(sql_expr: Sql) -> Result<SqlQuery> {
  @@ -26,23 +26,21 @@ pub fn parse_query<Sql: AsRef<str>>(sql_expr: Sql) -> Result<SqlQuery> {
  }
  pub fn parse_expr<Sql: AsRef<str>>(sql_expr: Sql) -> Result<SqlExpr> {
  - let dialect = GenericDialect {};
  - let tokens = Tokenizer::new(&dialect, sql_expr.as_ref())
  + let tokens = Tokenizer::new(&DIALECT, sql_expr.as_ref())
  .tokenize()
  .map_err(|e| Error::Parser(format!("{:#?}", e)))?;
  - Parser::new(tokens, &dialect)
  + Parser::new(tokens, &DIALECT)
  .parse_expr()
  .map_err(|e| Error::Parser(format!("{:#?}", e)))
  }
  pub fn parse_interval<Sql: AsRef<str>>(sql_interval: Sql) -> Result<SqlExpr> {
  - let dialect = GenericDialect {};
  - let tokens = Tokenizer::new(&dialect, sql_interval.as_ref())
  + let tokens = Tokenizer::new(&DIALECT, sql_interval.as_ref())
  .tokenize()
  .map_err(|e| Error::Parser(format!("{:#?}", e)))?;
  - Parser::new(tokens, &dialect)
  + Parser::new(tokens, &DIALECT)
  .parse_literal_interval()
  .map_err(|e| Error::Parser(format!("{:#?}", e)))
  }
  