rust/compiler/rustc_parse/src
bors bebd57a960 Auto merge of #102944 - nnethercote:ast-Lit-third-time-lucky, r=petrochenkov
Use `token::Lit` in `ast::ExprKind::Lit`.

Instead of `ast::Lit`.

Literal lowering now happens at two different times. Expression literals are lowered when HIR is crated. Attribute literals are lowered during parsing.

r? `@petrochenkov`
2022-11-16 23:03:14 +00:00
..
lexer Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
parser Auto merge of #102944 - nnethercote:ast-Lit-third-time-lucky, r=petrochenkov 2022-11-16 23:03:14 +00:00
errors.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
lib.rs Recover from fn ptr tys with generic param list 2022-11-11 13:42:40 +01:00
validate_attr.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00