File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1714,7 +1714,7 @@ pub enum ExprKind {
1714
1714
///
1715
1715
/// Usually not written directly in user code but
1716
1716
/// indirectly via the macro `core::mem::offset_of!(...)`.
1717
- OffsetOf ( P < Ty > , P < [ Ident ] > ) ,
1717
+ OffsetOf ( P < Ty > , Vec < Ident > ) ,
1718
1718
1719
1719
/// A macro invocation; pre-expansion.
1720
1720
MacCall ( P < MacCall > ) ,
Original file line number Diff line number Diff line change @@ -1119,7 +1119,7 @@ impl<'a> Parser<'a> {
1119
1119
/// Parse the field access used in offset_of, matched by `$(e:expr)+`.
1120
1120
/// Currently returns a list of idents. However, it should be possible in
1121
1121
/// future to also do array indices, which might be arbitrary expressions.
1122
- fn parse_floating_field_access ( & mut self ) -> PResult < ' a , P < [ Ident ] > > {
1122
+ fn parse_floating_field_access ( & mut self ) -> PResult < ' a , Vec < Ident > > {
1123
1123
let mut fields = Vec :: new ( ) ;
1124
1124
let mut trailing_dot = None ;
1125
1125
You can’t perform that action at this time.
0 commit comments