Skip to content

Commit

Permalink
Update test suite to nightly-2022-04-29
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 29, 2022
1 parent ff84ce0 commit b9b0685
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/common/eq.rs
Expand Up @@ -21,7 +21,7 @@ use rustc_ast::ast::{
WhereRegionPredicate,
};
use rustc_ast::ptr::P;
use rustc_ast::token::{self, CommentKind, DelimToken, Nonterminal, Token, TokenKind};
use rustc_ast::token::{self, CommentKind, Delimiter, Nonterminal, Token, TokenKind};
use rustc_ast::tokenstream::{
AttrAnnotatedTokenStream, AttrAnnotatedTokenTree, AttributesData, DelimSpan, LazyTokenStream,
Spacing, TokenStream, TokenTree,
Expand Down Expand Up @@ -142,7 +142,7 @@ spanless_eq_partial_eq!(char);
spanless_eq_partial_eq!(String);
spanless_eq_partial_eq!(Symbol);
spanless_eq_partial_eq!(CommentKind);
spanless_eq_partial_eq!(DelimToken);
spanless_eq_partial_eq!(Delimiter);
spanless_eq_partial_eq!(InlineAsmOptions);
spanless_eq_partial_eq!(token::LitKind);

Expand Down Expand Up @@ -546,7 +546,7 @@ fn doc_comment(
}
}
let stream = match trees.next() {
Some(TokenTree::Delimited(_span, DelimToken::Bracket, stream)) => stream,
Some(TokenTree::Delimited(_span, Delimiter::Bracket, stream)) => stream,
_ => return false,
};
let mut trees = stream.trees();
Expand Down

0 comments on commit b9b0685

Please sign in to comment.