Skip to content

Commit 1f92a93

Browse files
authored
Merge pull request #1949 from heiher/issue-1948
tests: Use smallvec and thin_vec from rustc_data_structures
2 parents 53a460f + 2cc3385 commit 1f92a93

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_precedence.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ extern crate rustc_ast_pretty;
3737
extern crate rustc_data_structures;
3838
extern crate rustc_driver;
3939
extern crate rustc_span;
40-
extern crate smallvec;
41-
extern crate thin_vec;
4240

4341
use crate::common::eq::SpanlessEq;
4442
use crate::common::parse;
@@ -210,10 +208,10 @@ fn librustc_parenthesize(mut librustc_expr: Box<ast::Expr>) -> Box<ast::Expr> {
210208
use rustc_ast::mut_visit::{walk_flat_map_assoc_item, MutVisitor};
211209
use rustc_ast::visit::{AssocCtxt, BoundKind};
212210
use rustc_data_structures::flat_map_in_place::FlatMapInPlace;
211+
use rustc_data_structures::smallvec::SmallVec;
212+
use rustc_data_structures::thin_vec::ThinVec;
213213
use rustc_span::DUMMY_SP;
214-
use smallvec::SmallVec;
215214
use std::ops::DerefMut;
216-
use thin_vec::ThinVec;
217215

218216
struct FullyParenthesize;
219217

0 commit comments

Comments
 (0)