mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
bebd57a960
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`