about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/vtable.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-04-29 16:18:37 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-04-29 18:47:54 +1000
commit52e9a23bdcd094cab07d13156a22d2d682bc63b6 (patch)
tree01de90b1ff17914dbf10be17d2f900759bc4bc27 /compiler/rustc_trait_selection/src/traits/vtable.rs
parent1ab34f063ba74e10ee1c33d9df85afbd5390596b (diff)
downloadrust-52e9a23bdcd094cab07d13156a22d2d682bc63b6.tar.gz
rust-52e9a23bdcd094cab07d13156a22d2d682bc63b6.zip
Remove `extern crate smallvec` from a couple of crates.
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/vtable.rs')
-rw-r--r--compiler/rustc_trait_selection/src/traits/vtable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/vtable.rs b/compiler/rustc_trait_selection/src/traits/vtable.rs
index 46a68508753..178f3c63ef7 100644
--- a/compiler/rustc_trait_selection/src/traits/vtable.rs
+++ b/compiler/rustc_trait_selection/src/traits/vtable.rs
@@ -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;