Skip to content

Commit d595264

Browse files
committed
refactor: remove test_all_features.sh script and suppress unused import warnings
- Deleted the test_all_features.sh script to streamline the testing process. - Added unused import suppressions in test_attr.rs and mssql.rs for improved code clarity.
1 parent 9c4c51d commit d595264

File tree

3 files changed

+5
-34
lines changed

3 files changed

+5
-34
lines changed

sqlx-macros/src/test_attr.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
#![allow(unused_imports)]
12
use proc_macro2::{Span, TokenStream};
23
use quote::quote;
34
use syn::punctuated::Punctuated;
45
use syn::{LitStr, Token};
56

7+
#[allow(dead_code)]
68
struct Args {
79
fixtures: Vec<LitStr>,
810
migrations: MigrationsOpt,
911
}
1012

13+
#[allow(dead_code)]
1114
enum MigrationsOpt {
1215
InferredPath,
1316
ExplicitPath(LitStr),

test_all_features.sh

Lines changed: 0 additions & 34 deletions
This file was deleted.

tests/mssql/mssql.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ use futures::TryStreamExt;
22
use sqlx_core::mssql::MssqlRow;
33
#[allow(unused_imports)]
44
use sqlx_oldapi::mssql::{Mssql, MssqlPoolOptions};
5+
#[allow(unused_imports)]
6+
use sqlx_oldapi::Execute;
57
use sqlx_oldapi::{Column, Connection, Executor, MssqlConnection, Row, Statement, TypeInfo};
68
use sqlx_test::new;
79
#[allow(unused_imports)]

0 commit comments

Comments
 (0)