Skip to content

Commit 62c4bdf

Browse files
committed
chore: Remove ODBC feature from clippy checks in CI workflow
1 parent 3a3e0fe commit 62c4bdf

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/sqlx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ jobs:
3333
run: |
3434
cargo clippy --manifest-path sqlx-core/Cargo.toml \
3535
--no-default-features \
36-
--features offline,all-databases,all-types,migrate,odbc,runtime-${{ matrix.runtime }}-${{ matrix.tls }} \
36+
--features offline,all-databases,all-types,migrate,runtime-${{ matrix.runtime }}-${{ matrix.tls }} \
3737
-- -D warnings
3838
- name: Run clippy for root with all features
3939
run: |
4040
cargo clippy \
4141
--no-default-features \
42-
--features offline,all-databases,all-types,migrate,odbc,runtime-${{ matrix.runtime }}-${{ matrix.tls }},macros \
42+
--features offline,all-databases,all-types,migrate,runtime-${{ matrix.runtime }}-${{ matrix.tls }},macros \
4343
-- -D warnings
4444
- name: Run clippy for all targets
4545
run: |
4646
cargo clippy \
4747
--no-default-features \
4848
--all-targets \
49-
--features offline,all-databases,migrate,odbc,runtime-${{ matrix.runtime }}-${{ matrix.tls }} \
49+
--features offline,all-databases,migrate,runtime-${{ matrix.runtime }}-${{ matrix.tls }} \
5050
-- -D warnings
5151
5252
test:
@@ -74,7 +74,7 @@ jobs:
7474
- run:
7575
cargo test
7676
--manifest-path sqlx-core/Cargo.toml
77-
--features offline,all-databases,all-types,odbc,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
77+
--features offline,all-databases,all-types,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
7878

7979
cli:
8080
name: CLI Binaries

sqlx-core/src/any/encode.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ macro_rules! impl_any_encode {
4545

4646
#[cfg(feature = "odbc")]
4747
crate::any::arguments::AnyArgumentBufferKind::Odbc(args, _) => {
48-
let _ = self.encode_by_ref(&mut args.values);
48+
let _ = <$ty as crate::encode::Encode<'q, crate::odbc::Odbc>>::encode_by_ref(
49+
self,
50+
&mut args.values,
51+
);
4952
}
5053
}
5154

0 commit comments

Comments
 (0)