Skip to content

Commit 2ec9c2e

Browse files
committed
Hoist stranded use declarations
1 parent 4fa824b commit 2ec9c2e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

compiler/rustc_middle/src/query/plumbing.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ use rustc_query_system::dep_graph::{DepNodeIndex, SerializedDepNodeIndex};
99
pub(crate) use rustc_query_system::query::QueryJobId;
1010
use rustc_query_system::query::*;
1111
use rustc_span::{DUMMY_SP, ErrorGuaranteed, Span};
12+
pub use sealed::IntoQueryParam;
1213

14+
use super::erase::EraseType;
1315
use crate::dep_graph;
1416
use crate::dep_graph::DepKind;
1517
use crate::query::on_disk_cache::{CacheEncoder, EncodedDepNodeIndex, OnDiskCache};
@@ -694,10 +696,6 @@ mod sealed {
694696
}
695697
}
696698

697-
pub use sealed::IntoQueryParam;
698-
699-
use super::erase::EraseType;
700-
701699
#[derive(Copy, Clone, Debug, HashStable)]
702700
pub struct CyclePlaceholder(pub ErrorGuaranteed);
703701

0 commit comments

Comments
 (0)