rust/compiler/rustc_expand/src
Vadim Petrochenkov 46becfdf9c expand: Change how #![cfg(FALSE)] behaves on crate root
Previously it removed all other attributes from the crate root.
Now it removes only attributes below itself.

So it becomes possible to configure some global crate properties even for fully unconfigured crates.
2023-06-10 00:35:21 +03:00
..
mbe feat(expand): emit note for doc comment in macro matcher 2023-06-07 10:20:36 +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 Rollup merge of #112396 - WaffleLapkin:track_more_diagnostics, r=compiler-errors 2023-06-08 10:15:13 +02:00
build.rs Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
config.rs expand: Change how #![cfg(FALSE)] behaves on crate root 2023-06-10 00:35:21 +03:00
errors.rs Fix static string lints 2023-04-25 18:59:55 +01:00
expand.rs expand: Change how #![cfg(FALSE)] behaves on crate root 2023-06-10 00:35:21 +03:00
lib.rs Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00: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 Rip it out 2023-05-01 16:15:13 +08:00
proc_macro_server.rs fix TODO comments 2023-05-02 10:32:07 +00:00
proc_macro.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
tests.rs Spelling - compiler 2023-04-17 16:09:18 -04:00