1
Fork 0

Reorder imports and remove re-export

This commit is contained in:
Celina G. Val 2023-11-24 15:09:26 -08:00
parent d7c7236845
commit f8c2478b6b
5 changed files with 21 additions and 14 deletions

View file

@ -3,6 +3,8 @@
//! StableMIR users should not use any of the items in this module directly.
//! These APIs have no stability guarantee.
use std::cell::Cell;
use crate::mir::alloc::{AllocId, GlobalAlloc};
use crate::mir::mono::{Instance, InstanceDef, StaticDef};
use crate::mir::Body;
@ -15,7 +17,6 @@ use crate::{
mir, Crate, CrateItem, CrateItems, DefId, Error, Filename, ImplTraitDecls, ItemKind, Symbol,
TraitDecls,
};
use std::cell::Cell;
/// This trait defines the interface between stable_mir and the Rust compiler.
/// Do not use this directly.