Skip to content

Commit 9a66997

Browse files
committed
Update test suite to nightly-2022-03-16
1 parent be3238b commit 9a66997

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

tests/common/eq.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ use rustc_ast::ast::{
1212
InlineAsmOperand, InlineAsmOptions, InlineAsmRegOrRegClass, InlineAsmTemplatePiece, IntTy,
1313
IsAuto, Item, ItemKind, Label, Lifetime, Lit, LitFloatType, LitIntType, LitKind, Local,
1414
LocalKind, MacArgs, MacCall, MacCallStmt, MacDelimiter, MacStmtStyle, MacroDef, ModKind,
15-
Movability, MutTy, Mutability, NodeId, Param, ParenthesizedArgs, Pat, PatField, PatKind, Path,
16-
PathSegment, PolyTraitRef, QSelf, RangeEnd, RangeLimits, RangeSyntax, Stmt, StmtKind, StrLit,
17-
StrStyle, StructExpr, StructRest, Term, Trait, TraitBoundModifier, TraitObjectSyntax, TraitRef,
18-
Ty, TyAlias, TyAliasWhereClause, TyKind, UintTy, UnOp, Unsafe, UnsafeSource, UseTree,
19-
UseTreeKind, Variant, VariantData, Visibility, VisibilityKind, WhereBoundPredicate,
20-
WhereClause, WhereEqPredicate, WherePredicate, WhereRegionPredicate,
15+
ModSpans, Movability, MutTy, Mutability, NodeId, Param, ParenthesizedArgs, Pat, PatField,
16+
PatKind, Path, PathSegment, PolyTraitRef, QSelf, RangeEnd, RangeLimits, RangeSyntax, Stmt,
17+
StmtKind, StrLit, StrStyle, StructExpr, StructRest, Term, Trait, TraitBoundModifier,
18+
TraitObjectSyntax, TraitRef, Ty, TyAlias, TyAliasWhereClause, TyKind, UintTy, UnOp, Unsafe,
19+
UnsafeSource, UseTree, UseTreeKind, Variant, VariantData, Visibility, VisibilityKind,
20+
WhereBoundPredicate, WhereClause, WhereEqPredicate, WherePredicate, WhereRegionPredicate,
2121
};
2222
use rustc_ast::ptr::P;
2323
use rustc_ast::token::{self, CommentKind, DelimToken, Nonterminal, Token, TokenKind};
@@ -302,7 +302,7 @@ spanless_eq_struct!(Attribute; kind id style span);
302302
spanless_eq_struct!(AttributesData; attrs tokens);
303303
spanless_eq_struct!(BareFnTy; unsafety ext generic_params decl);
304304
spanless_eq_struct!(Block; stmts id rules span tokens could_be_bare_literal);
305-
spanless_eq_struct!(Crate; attrs items span id is_placeholder);
305+
spanless_eq_struct!(Crate; attrs items spans id is_placeholder);
306306
spanless_eq_struct!(EnumDef; variants);
307307
spanless_eq_struct!(Expr; id kind span attrs !tokens);
308308
spanless_eq_struct!(ExprField; attrs id span ident expr is_shorthand is_placeholder);
@@ -324,6 +324,7 @@ spanless_eq_struct!(Local; pat ty kind id span attrs !tokens);
324324
spanless_eq_struct!(MacCall; path args prior_type_ascription);
325325
spanless_eq_struct!(MacCallStmt; mac style attrs tokens);
326326
spanless_eq_struct!(MacroDef; body macro_rules);
327+
spanless_eq_struct!(ModSpans; !inner_span !inject_use_span);
327328
spanless_eq_struct!(MutTy; ty mutbl);
328329
spanless_eq_struct!(ParenthesizedArgs; span inputs inputs_span output);
329330
spanless_eq_struct!(Pat; id kind span tokens);

0 commit comments

Comments
 (0)