Skip to content

Commit

Permalink
Update test suite to nightly-2020-01-05
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 5, 2020
1 parent c6ba892 commit 4489ebe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions tests/common/eq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use std::mem;

use rustc_data_structures::sync::Lrc;
use rustc_data_structures::thin_vec::ThinVec;
use rustc_span::{Span, SyntaxContext, DUMMY_SP};
use rustc_span::source_map::Spanned;
use rustc_span::{sym, Span, Symbol, SyntaxContext, DUMMY_SP};
use syntax::ast::{
AngleBracketedArgs, AnonConst, Arm, AsmDialect, AssocItem, AssocItemKind, AssocTyConstraint,
AssocTyConstraintKind, AttrId, AttrItem, AttrKind, AttrStyle, Attribute, BareFnTy, BinOpKind,
Expand All @@ -24,8 +25,6 @@ use syntax::ast::{
WhereBoundPredicate, WhereClause, WhereEqPredicate, WherePredicate, WhereRegionPredicate,
};
use syntax::ptr::P;
use syntax::source_map::Spanned;
use syntax::symbol::{sym, Symbol};
use syntax::token::{self, DelimToken, Token, TokenKind};
use syntax::tokenstream::{DelimSpan, TokenStream, TokenTree};
use syntax::util::comments;
Expand Down
2 changes: 1 addition & 1 deletion tests/common/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ extern crate rustc_parse as parse;
extern crate rustc_span;
extern crate syntax;

use rustc_span::source_map::FilePathMapping;
use rustc_span::FileName;
use syntax::ast;
use syntax::ptr::P;
use syntax::sess::ParseSess;
use syntax::source_map::FilePathMapping;

use std::panic;

Expand Down
2 changes: 1 addition & 1 deletion tests/test_round_trip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ mod features;
use quote::quote;
use rayon::iter::{IntoParallelIterator, ParallelIterator};
use rustc_span::edition::Edition;
use rustc_span::source_map::FilePathMapping;
use rustc_span::FileName;
use syntax::ast;
use syntax::errors::PResult;
use syntax::sess::ParseSess;
use syntax::source_map::FilePathMapping;
use walkdir::{DirEntry, WalkDir};

use std::fs::File;
Expand Down

0 comments on commit 4489ebe

Please sign in to comment.