Remove rustc_error_messages/messages.ftl
.
It's empty, and it doesn't even make sense, because `rustc_error_messages` is a lower-level crate than `rustc_errors`.
This commit is contained in:
parent
16087eeea8
commit
df9f83987a
5 changed files with 0 additions and 7 deletions
|
@ -3771,7 +3771,6 @@ dependencies = [
|
||||||
"intl-memoizer",
|
"intl-memoizer",
|
||||||
"rustc_baked_icu_data",
|
"rustc_baked_icu_data",
|
||||||
"rustc_data_structures",
|
"rustc_data_structures",
|
||||||
"rustc_fluent_macro",
|
|
||||||
"rustc_macros",
|
"rustc_macros",
|
||||||
"rustc_serialize",
|
"rustc_serialize",
|
||||||
"rustc_span",
|
"rustc_span",
|
||||||
|
|
|
@ -114,7 +114,6 @@ pub static DEFAULT_LOCALE_RESOURCES: &[&str] = &[
|
||||||
rustc_builtin_macros::DEFAULT_LOCALE_RESOURCE,
|
rustc_builtin_macros::DEFAULT_LOCALE_RESOURCE,
|
||||||
rustc_codegen_ssa::DEFAULT_LOCALE_RESOURCE,
|
rustc_codegen_ssa::DEFAULT_LOCALE_RESOURCE,
|
||||||
rustc_const_eval::DEFAULT_LOCALE_RESOURCE,
|
rustc_const_eval::DEFAULT_LOCALE_RESOURCE,
|
||||||
rustc_error_messages::DEFAULT_LOCALE_RESOURCE,
|
|
||||||
rustc_errors::DEFAULT_LOCALE_RESOURCE,
|
rustc_errors::DEFAULT_LOCALE_RESOURCE,
|
||||||
rustc_expand::DEFAULT_LOCALE_RESOURCE,
|
rustc_expand::DEFAULT_LOCALE_RESOURCE,
|
||||||
rustc_hir_analysis::DEFAULT_LOCALE_RESOURCE,
|
rustc_hir_analysis::DEFAULT_LOCALE_RESOURCE,
|
||||||
|
|
|
@ -13,7 +13,6 @@ icu_provider_adapters = "1.2"
|
||||||
intl-memoizer = "0.5.1"
|
intl-memoizer = "0.5.1"
|
||||||
rustc_baked_icu_data = { path = "../rustc_baked_icu_data" }
|
rustc_baked_icu_data = { path = "../rustc_baked_icu_data" }
|
||||||
rustc_data_structures = { path = "../rustc_data_structures" }
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
||||||
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
|
|
||||||
rustc_macros = { path = "../rustc_macros" }
|
rustc_macros = { path = "../rustc_macros" }
|
||||||
rustc_serialize = { path = "../rustc_serialize" }
|
rustc_serialize = { path = "../rustc_serialize" }
|
||||||
rustc_span = { path = "../rustc_span" }
|
rustc_span = { path = "../rustc_span" }
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
# satisfy tidy lint by having a line in this file
|
|
|
@ -15,7 +15,6 @@ use fluent_bundle::FluentResource;
|
||||||
use fluent_syntax::parser::ParserError;
|
use fluent_syntax::parser::ParserError;
|
||||||
use icu_provider_adapters::fallback::{LocaleFallbackProvider, LocaleFallbacker};
|
use icu_provider_adapters::fallback::{LocaleFallbackProvider, LocaleFallbacker};
|
||||||
use rustc_data_structures::sync::{IntoDynSyncSend, Lrc};
|
use rustc_data_structures::sync::{IntoDynSyncSend, Lrc};
|
||||||
use rustc_fluent_macro::fluent_messages;
|
|
||||||
use rustc_macros::{Decodable, Encodable};
|
use rustc_macros::{Decodable, Encodable};
|
||||||
use rustc_span::Span;
|
use rustc_span::Span;
|
||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
|
@ -38,8 +37,6 @@ use intl_memoizer::IntlLangMemoizer;
|
||||||
pub use fluent_bundle::{self, types::FluentType, FluentArgs, FluentError, FluentValue};
|
pub use fluent_bundle::{self, types::FluentType, FluentArgs, FluentError, FluentValue};
|
||||||
pub use unic_langid::{langid, LanguageIdentifier};
|
pub use unic_langid::{langid, LanguageIdentifier};
|
||||||
|
|
||||||
fluent_messages! { "../messages.ftl" }
|
|
||||||
|
|
||||||
pub type FluentBundle =
|
pub type FluentBundle =
|
||||||
IntoDynSyncSend<fluent_bundle::bundle::FluentBundle<FluentResource, IntlLangMemoizer>>;
|
IntoDynSyncSend<fluent_bundle::bundle::FluentBundle<FluentResource, IntlLangMemoizer>>;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue