diff --git a/src/ast.rs b/src/ast.rs index 775db10..68584f1 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -1691,7 +1691,6 @@ impl Emit for LoadExpression { self.expression.emit(t, f)?; f.write_token_start(&suffix) } - _ => self.emit_default(t, f), } } } diff --git a/src/cmd/run.rs b/src/cmd/run.rs index 7a40758..29a18fb 100644 --- a/src/cmd/run.rs +++ b/src/cmd/run.rs @@ -3,10 +3,7 @@ use std::path::PathBuf; use clap::Parser; use tracing::instrument; -use crate::{ - ast::parse_sql, drivers, errors::Result, infer::InferTypes, known_files::KnownFiles, - scope::Scope, -}; +use crate::{ast::parse_sql, drivers, errors::Result, known_files::KnownFiles}; /// Run an SQL file using the specified database. #[derive(Debug, Parser)] diff --git a/src/cmd/sql_test.rs b/src/cmd/sql_test.rs index f5787b1..a208ec7 100644 --- a/src/cmd/sql_test.rs +++ b/src/cmd/sql_test.rs @@ -17,9 +17,7 @@ use crate::{ ast::{self, parse_sql, CreateTableStatement, CreateViewStatement, Target}, drivers::{self, Driver}, errors::{format_err, Context, Error, Result}, - infer::InferTypes, known_files::{FileId, KnownFiles}, - scope::Scope, }; /// Run SQL tests from a directory.