Skip to content

Commit

Permalink
Remove redundant imports causing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adpaco-aws committed Feb 28, 2024
1 parent aceb134 commit 7e0cdc3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions kani-compiler/src/kani_compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,8 @@ fn metadata_output_path(tcx: TyCtxt) -> PathBuf {
#[cfg(test)]
mod tests {
use super::*;
use kani_metadata::{HarnessAttributes, HarnessMetadata};
use kani_metadata::HarnessAttributes;
use rustc_data_structures::fingerprint::Fingerprint;
use rustc_hir::definitions::DefPathHash;
use std::collections::HashMap;

fn mock_next_harness_id() -> HarnessId {
static mut COUNTER: u64 = 0;
Expand Down
2 changes: 0 additions & 2 deletions kani-driver/src/args/playback_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ impl ValidateArgs for PlaybackArgs {

#[cfg(test)]
mod tests {
use clap::Parser;

use super::*;

#[test]
Expand Down
1 change: 0 additions & 1 deletion tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use std::process::{Command, ExitStatus, Output, Stdio};
use std::str;

use serde::{Deserialize, Serialize};
use serde_yaml;
use tracing::*;
use wait_timeout::ChildExt;

Expand Down

0 comments on commit 7e0cdc3

Please sign in to comment.