Skip to content

Commit

Permalink
Auto merge of #12876 - ehuss:remove-warning, r=weihanglo
Browse files Browse the repository at this point in the history
Fix unused_imports warning

rust-lang/rust#116033 recently improved the fidelity of the unused_imports warning, causing this code to surface as something that is not being used (because the `context` module is not publicly exported, and nothing was referencing these imports). This fixes the warning by removing the unused imports.
  • Loading branch information
bors committed Oct 24, 2023
2 parents f5418fc + 3dcf93f commit df35092
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cargo/core/resolver/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ use std::collections::HashMap;
use std::num::NonZeroU64;
use tracing::debug;

pub use super::encode::Metadata;
pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
pub use super::resolve::Resolve;

// A `Context` is basically a bunch of local resolution information which is
// kept around for all `BacktrackFrame` instances. As a result, this runs the
// risk of being cloned *a lot* so we want to make this as cheap to clone as
Expand Down

0 comments on commit df35092

Please sign in to comment.