Remove extern crate smallvec from a couple of crates.

This commit is contained in:
Nicholas Nethercote 2024-04-29 16:18:37 +10:00
parent 1ab34f063b
commit 52e9a23bdc
8 changed files with 6 additions and 10 deletions

View file

@ -33,8 +33,6 @@
extern crate tracing;
#[macro_use]
extern crate rustc_middle;
#[macro_use]
extern crate smallvec;
pub mod errors;
pub mod infer;

View file

@ -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::*;

View file

@ -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;