1
Fork 0

Rollup merge of #118158 - nnethercote:reduce-fluent-boilerplate, r=compiler-errors

Reduce fluent boilerplate

Best reviewed one commit at a time.

r? `@davidtwco`
This commit is contained in:
Michael Goulet 2023-11-25 17:23:33 -05:00 committed by GitHub
commit 3b2f33ee28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 305 additions and 418 deletions

View file

@ -37,12 +37,9 @@ extern crate rustc_middle;
#[macro_use]
extern crate smallvec;
use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
use rustc_fluent_macro::fluent_messages;
pub mod errors;
pub mod infer;
pub mod solve;
pub mod traits;
fluent_messages! { "../messages.ftl" }
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }