Remove extern crate smallvec
from a couple of crates.
This commit is contained in:
parent
1ab34f063b
commit
52e9a23bdc
8 changed files with 6 additions and 10 deletions
|
@ -33,8 +33,6 @@
|
|||
extern crate tracing;
|
||||
#[macro_use]
|
||||
extern crate rustc_middle;
|
||||
#[macro_use]
|
||||
extern crate smallvec;
|
||||
|
||||
pub mod errors;
|
||||
pub mod infer;
|
||||
|
|
|
@ -10,7 +10,7 @@ use rustc_middle::ty::GenericArgsRef;
|
|||
use rustc_middle::ty::{self, ImplSubject, ToPredicate, Ty, TyCtxt, TypeVisitableExt};
|
||||
use rustc_middle::ty::{TypeFoldable, TypeFolder, TypeSuperFoldable};
|
||||
use rustc_span::Span;
|
||||
use smallvec::SmallVec;
|
||||
use smallvec::{smallvec, SmallVec};
|
||||
|
||||
pub use rustc_infer::traits::util::*;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ use rustc_middle::ty::visit::TypeVisitableExt;
|
|||
use rustc_middle::ty::GenericArgs;
|
||||
use rustc_middle::ty::{self, GenericParamDefKind, ToPredicate, Ty, TyCtxt, VtblEntry};
|
||||
use rustc_span::{sym, Span};
|
||||
use smallvec::SmallVec;
|
||||
use smallvec::{smallvec, SmallVec};
|
||||
|
||||
use std::fmt::Debug;
|
||||
use std::ops::ControlFlow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue