Skip to content

Commit b6ea824

Browse files
committed
Hoist some stranded use declarations
1 parent 10393a8 commit b6ea824

File tree

1 file changed

+2
-3
lines changed
  • compiler/rustc_codegen_llvm/src/debuginfo

1 file changed

+2
-3
lines changed

compiler/rustc_codegen_llvm/src/debuginfo/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ use rustc_target::spec::DebuginfoKind;
2828
use smallvec::SmallVec;
2929
use tracing::debug;
3030

31+
use self::create_scope_map::compute_mir_scopes;
32+
pub(crate) use self::metadata::build_global_var_di_node;
3133
use self::metadata::{
3234
UNKNOWN_COLUMN_NUMBER, UNKNOWN_LINE_NUMBER, file_metadata, spanned_type_di_node, type_di_node,
3335
};
@@ -48,9 +50,6 @@ pub(crate) mod metadata;
4850
mod namespace;
4951
mod utils;
5052

51-
use self::create_scope_map::compute_mir_scopes;
52-
pub(crate) use self::metadata::build_global_var_di_node;
53-
5453
/// A context object for maintaining all state needed by the debuginfo module.
5554
pub(crate) struct CodegenUnitDebugContext<'ll, 'tcx> {
5655
llmod: &'ll llvm::Module,

0 commit comments

Comments
 (0)