From 0447c1db8d332f0495a2dc9f8ca56a80d4f056c2 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Mon, 4 Mar 2024 17:32:54 +0100 Subject: [PATCH] chore: Remove redundant imports Rust nightly treats such as errors. --- src/json.rs | 1 - src/read2.rs | 1 - src/runtest.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/json.rs b/src/json.rs index 42d6cdc..58f4f9c 100644 --- a/src/json.rs +++ b/src/json.rs @@ -10,7 +10,6 @@ use errors::{Error, ErrorKind}; use runtest::ProcRes; -use serde_json; use std::path::Path; use std::str::FromStr; diff --git a/src/read2.rs b/src/read2.rs index 402f0ff..442c910 100644 --- a/src/read2.rs +++ b/src/read2.rs @@ -35,7 +35,6 @@ mod imp { #[cfg(unix)] mod imp { - use libc; use std::io; use std::io::prelude::*; use std::mem; diff --git a/src/runtest.rs b/src/runtest.rs index 943b15d..d153fcd 100644 --- a/src/runtest.rs +++ b/src/runtest.rs @@ -14,7 +14,6 @@ use common::{Assembly, Incremental, MirOpt, RunMake, Ui}; use common::{Codegen, CodegenUnits, DebugInfoGdb, DebugInfoLldb, Rustdoc}; use common::{CompileFail, ParseFail, Pretty, RunFail, RunPass, RunPassValgrind}; use common::{Config, TestPaths}; -use diff; use errors::{self, Error, ErrorKind}; use filetime::FileTime; use header::TestProps;