mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-25 15:45:34 -04:00
197a027ef0
Instead of loading the Fluent resources for every crate in `rustc_error_messages`, each crate generates typed identifiers for its own diagnostics and creates a static which are pulled together in the `rustc_driver` crate and provided to the diagnostic emitter. Signed-off-by: David Wood <david.wood@huawei.com>