flux_driver/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#![feature(rustc_private, box_patterns, let_chains)]

extern crate rustc_ast;
extern crate rustc_borrowck;
extern crate rustc_driver;
extern crate rustc_errors;
extern crate rustc_hir;
extern crate rustc_interface;
extern crate rustc_middle;
extern crate rustc_session;
extern crate rustc_span;

pub mod callbacks;
mod collector;

use flux_macros::fluent_messages;

fluent_messages! { "../locales/en-US.ftl" }

pub static DEFAULT_LOCALE_RESOURCES: &[&str] = &[
    DEFAULT_LOCALE_RESOURCE,
    flux_desugar::DEFAULT_LOCALE_RESOURCE,
    flux_fhir_analysis::DEFAULT_LOCALE_RESOURCE,
    flux_metadata::DEFAULT_LOCALE_RESOURCE,
    flux_middle::DEFAULT_LOCALE_RESOURCE,
    flux_refineck::DEFAULT_LOCALE_RESOURCE,
    flux_rustc_bridge::DEFAULT_LOCALE_RESOURCE,
];