Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed Dec 7, 2024
1 parent fda888d commit 4eadb97
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,6 @@ impl Emit for LoadExpression {
self.expression.emit(t, f)?;
f.write_token_start(&suffix)
}
_ => self.emit_default(t, f),
}
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/cmd/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 0 additions & 2 deletions src/cmd/sql_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4eadb97

Please sign in to comment.