mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 01:44:04 +00:00
minor
This commit is contained in:
parent
12103b16de
commit
393f80e036
@ -59,7 +59,7 @@ pub(super) const ATOM_EXPR_FIRST: TokenSet =
|
|||||||
LIFETIME_IDENT,
|
LIFETIME_IDENT,
|
||||||
]));
|
]));
|
||||||
|
|
||||||
const EXPR_RECOVERY_SET: TokenSet = TokenSet::new(&[LET_KW, R_DOLLAR]);
|
const EXPR_RECOVERY_SET: TokenSet = TokenSet::new(&[T![let], R_DOLLAR]);
|
||||||
|
|
||||||
pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMarker, BlockLike)> {
|
pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMarker, BlockLike)> {
|
||||||
if let Some(m) = literal(p) {
|
if let Some(m) = literal(p) {
|
||||||
|
Loading…
Reference in New Issue
Block a user