Skip to content

Commit

Permalink
Deal with unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed May 1, 2024
1 parent 19913ba commit 426ab35
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions crates/paralegal-flow/src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//! Utility functions, general purpose structs and extension traits
extern crate smallvec;
use thiserror::Error;

use smallvec::SmallVec;

use crate::{
desc::Identifier,
Expand All @@ -25,23 +22,21 @@ use crate::{
ty,
},
rustc_span::ErrorGuaranteed,
Either, HashSet, Symbol, TyCtxt,
Either, Symbol, TyCtxt,
};
pub use flowistry_pdg_construction::{is_non_default_trait_method, FnResolution};
pub use paralegal_spdg::{ShortHash, TinyBitSet};

pub use flowistry_pdg_construction::is_non_default_trait_method;
pub use flowistry_pdg_construction::FnResolution;

use std::hash::Hash;
use std::{cmp::Ordering, fs::File};
use smallvec::SmallVec;
use thiserror::Error;

pub mod resolve;
use std::{cmp::Ordering, hash::Hash};

mod print;
pub mod resolve;

pub use print::*;

pub use paralegal_spdg::{ShortHash, TinyBitSet};

/// This function exists to deal with `#[tracing::instrument]`. In that case,
/// sadly, the `Span` value attached to a body directly refers only to the
/// `#[tracing::instrument]` macro call. This function instead reconstitutes the
Expand Down

0 comments on commit 426ab35

Please sign in to comment.