From 678b76059aef8ec72a864b3aabc94f4216bb209c Mon Sep 17 00:00:00 2001 From: dario curreri Date: Wed, 18 Mar 2026 22:55:31 +0100 Subject: [PATCH] build: update Rust toolchain version from 1.93.0 to 1.94.0 in rust-toolchain.toml --- datafusion/core/src/datasource/file_format/csv.rs | 2 ++ datafusion/core/tests/sql/path_partition.rs | 2 ++ rust-toolchain.toml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/datafusion/core/src/datasource/file_format/csv.rs b/datafusion/core/src/datasource/file_format/csv.rs index 51d799a5b65c1..a068b4f5c0413 100644 --- a/datafusion/core/src/datasource/file_format/csv.rs +++ b/datafusion/core/src/datasource/file_format/csv.rs @@ -114,6 +114,8 @@ mod tests { let len = bytes.len() as u64; let range = 0..len * self.max_iterations; let arc = self.iterations_detected.clone(); + #[expect(clippy::result_large_err)] + // closure only ever returns Ok; Err type is never constructed let stream = futures::stream::repeat_with(move || { let arc_inner = arc.clone(); *arc_inner.lock().unwrap() += 1; diff --git a/datafusion/core/tests/sql/path_partition.rs b/datafusion/core/tests/sql/path_partition.rs index c23f53b8db6b3..1afab529f019c 100644 --- a/datafusion/core/tests/sql/path_partition.rs +++ b/datafusion/core/tests/sql/path_partition.rs @@ -735,6 +735,8 @@ impl ObjectStore for MirroringObjectStore { .map(|mut x| x.next().is_some()) .unwrap_or(false); + #[expect(clippy::result_large_err)] + // closure only ever returns Ok; Err type is never constructed filter.then(|| { Ok(ObjectMeta { location, diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f351f58a71170..c7d61a9e24f7f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -19,5 +19,5 @@ # to compile this workspace and run CI jobs. [toolchain] -channel = "1.93.0" +channel = "1.94.0" components = ["rustfmt", "clippy"]