rust/compiler/rustc_expand/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
..
mbe Only do parser recovery on retried macro matching 2022-11-15 19:34:35 +01:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse Remove TreeAndSpacing. 2022-07-29 15:52:15 +10:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
build.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
config.rs Workaround unstable stmt_expr_attributes for method receiver expressions. 2022-10-23 09:27:12 +00:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expand.rs Rollup merge of #102049 - fee1-dead-contrib:derive_const, r=oli-obk 2022-11-12 12:02:50 +05:30
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
mbe.rs Add Tracker to track matching operations 2022-11-02 21:05:09 +01:00
module.rs Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
placeholders.rs Workaround unstable stmt_expr_attributes for method receiver expressions. 2022-10-23 09:27:12 +00:00
proc_macro_server.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
proc_macro.rs Add the #[derive_const] attribute 2022-09-20 11:57:58 +00:00
tests.rs Implement -Ztrack-diagnostics 2022-10-19 00:08:20 +02:00