Skip to content

Commit 141a977

Browse files
Miscellaneous import formatting
1 parent a835b48 commit 141a977

File tree

1 file changed

+4
-5
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+4
-5
lines changed

compiler/rustc_middle/src/mir/mod.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ use crate::ty::codec::{TyDecoder, TyEncoder};
1010
use crate::ty::fold::{TypeFoldable, TypeFolder, TypeVisitor};
1111
use crate::ty::print::{FmtPrinter, Printer};
1212
use crate::ty::subst::{Subst, SubstsRef};
13-
use crate::ty::{
14-
self, AdtDef, CanonicalUserTypeAnnotations, List, Region, Ty, TyCtxt, UserTypeAnnotationIndex,
15-
};
13+
use crate::ty::{self, List, Ty, TyCtxt};
14+
use crate::ty::{AdtDef, InstanceDef, Region, UserTypeAnnotationIndex};
1615
use rustc_hir as hir;
1716
use rustc_hir::def::{CtorKind, Namespace};
1817
use rustc_hir::def_id::DefId;
@@ -151,7 +150,7 @@ pub struct Body<'tcx> {
151150
pub local_decls: LocalDecls<'tcx>,
152151

153152
/// User type annotations.
154-
pub user_type_annotations: CanonicalUserTypeAnnotations<'tcx>,
153+
pub user_type_annotations: ty::CanonicalUserTypeAnnotations<'tcx>,
155154

156155
/// The number of arguments this function takes.
157156
///
@@ -212,7 +211,7 @@ impl<'tcx> Body<'tcx> {
212211
basic_blocks: IndexVec<BasicBlock, BasicBlockData<'tcx>>,
213212
source_scopes: IndexVec<SourceScope, SourceScopeData>,
214213
local_decls: LocalDecls<'tcx>,
215-
user_type_annotations: CanonicalUserTypeAnnotations<'tcx>,
214+
user_type_annotations: ty::CanonicalUserTypeAnnotations<'tcx>,
216215
arg_count: usize,
217216
var_debug_info: Vec<VarDebugInfo<'tcx>>,
218217
span: Span,

0 commit comments

Comments
 (0)