1
Fork 0
rust/compiler/rustc_expand/src
Vadim Petrochenkov aca1b1e0b3 rustc_interface: Add a new query pre_configure
It partially expands crate attributes before the main expansion pass (without modifying the crate), and the produced preliminary crate attribute list is used for querying a few attributes that are required very early.

Crate-level cfg attributes are then expanded normally during the main expansion pass, like attributes on any other nodes.
2023-03-23 14:22:48 +04:00
..
mbe Suggest surrounding the macro with {} to interpret as a statement 2023-03-17 14:36:22 +08:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs rustc_interface: Add a new query pre_configure 2023-03-23 14:22:48 +04:00
build.rs Use ThinVec in a few more AST types. 2023-02-21 11:51:56 +11:00
config.rs rustc_interface: Add a new query pre_configure 2023-03-23 14:22:48 +04:00
errors.rs rustc_expand: make proc-macro derive error translatable 2023-03-04 07:54:29 +02:00
expand.rs rustc_interface: Add a new query pre_configure 2023-03-23 14:22:48 +04:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
mbe.rs Move macro_rules diagnostics to diagnostics module 2022-11-20 13:06:44 +01:00
module.rs Use ThinVec in a few more AST types. 2023-02-21 11:51:56 +11:00
placeholders.rs Split MacArgs in two. 2022-11-22 09:04:15 +11:00
proc_macro.rs rustc_expand: make proc-macro derive error translatable 2023-03-04 07:54:29 +02:00
proc_macro_server.rs Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb 2023-01-20 04:52:28 +00:00
tests.rs no need to return unmatched_delims from tokentrees 2023-02-28 07:57:17 +00:00