Skip to content

Commit

Permalink
Rustc warnings should be treated as errors (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Mar 4, 2024
1 parent 9199230 commit 7e6c3c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ include = [
edition = "2021"
rust-version = "1.76"

[workspace.lints.rust]
warnings = "deny"

[workspace.lints.clippy]
all = "deny"

Expand Down
4 changes: 1 addition & 3 deletions vortex-fastlanes/src/for/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ impl EncodingSerde for FoREncoding {

#[cfg(test)]
mod test {
use crate::FoRArray;
use std::io;

use vortex::array::primitive::PrimitiveArray;
use vortex::array::{Array, ArrayRef};
use vortex::scalar::Scalar;
use vortex::serde::{ReadCtx, WriteCtx};

use super::*;

fn roundtrip_array(array: &dyn Array) -> io::Result<ArrayRef> {
let mut buf = Vec::<u8>::new();
let mut write_ctx = WriteCtx::new(&mut buf);
Expand Down

0 comments on commit 7e6c3c7

Please sign in to comment.