Skip to content

Commit a155a9b

Browse files
committed
use vec instead of smallvec
1 parent bd0ea19 commit a155a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/diagnostics/region_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ enum Trace {
6666
///
6767
/// Usually we expect this to either be empty or contain a small number of items, so we can avoid
6868
/// allocation most of the time.
69-
crate type RegionErrors<'tcx> = smallvec::SmallVec<[RegionErrorKind<'tcx>; 4]>;
69+
crate type RegionErrors<'tcx> = Vec<RegionErrorKind<'tcx>>;
7070

7171
#[derive(Clone, Debug)]
7272
crate enum RegionErrorKind<'tcx> {

0 commit comments

Comments
 (0)