rust/compiler/rustc_expand/src
Nicholas Nethercote 57cd5e6551 Use rustc_fluent_macro::fluent_messages! directly.
Currently we always do this:
```
use rustc_fluent_macro::fluent_messages;
...
fluent_messages! { "./example.ftl" }
```
But there is no need, we can just do this everywhere:
```
rustc_fluent_macro::fluent_messages! { "./example.ftl" }
```
which is shorter.
2023-11-26 08:38:40 +11:00
..
mbe Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse Auto merge of #114115 - nnethercote:less-token-tree-cloning, r=petrochenkov 2023-07-28 01:21:27 +00:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
build.rs Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
config.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
errors.rs Mention the syntax for use on mod foo; if foo doesn't exist 2023-10-21 15:56:01 +00:00
expand.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
mbe.rs Move macro_rules diagnostics to diagnostics module 2022-11-20 13:06:44 +01:00
module.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
placeholders.rs Minimize pub usage in source_map.rs. 2023-11-02 19:35:00 +11:00
proc_macro_server.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
proc_macro.rs More detail when expecting expression but encountering bad macro argument 2023-11-16 16:19:04 +00:00
tests.rs Replace option.map(cond) == Some(true) with option.is_some_and(cond) 2023-11-24 09:14:09 -08:00