Improve the inline_fluent! macro#152356
Improve the inline_fluent! macro#152356JonathanBrouwer wants to merge 2 commits intorust-lang:mainfrom
inline_fluent! macro#152356Conversation
inline_fluent! macro and rename it to msg!inline_fluent! macro
e7ad0ed to
4cc0202
Compare
|
cc @davidtwco, @TaKO8Ki
cc @davidtwco, @TaKO8Ki Some changes occurred to the CTFE machinery |
|
Don't merge together with #152276, these will soft-conflict |
|
don't merge, #152276 goes first |
4cc0202 to
6eb2a8f
Compare
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
Soft conflict is now resolved, safe to merge :) |
For #151366
This PR turns
inline_fluent!into a proc macro, so we can run validation on the messages in this macro :)I started a thread here because I don't like the name of the macro, but that's for a future PR: #t-compiler > Bikeshed the new `inline_fluent!` macro