We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 926b5d2 commit f51d1d2Copy full SHA for f51d1d2
compiler/rustc_error_messages/src/lib.rs
@@ -107,7 +107,7 @@ impl From<Vec<FluentError>> for TranslationBundleError {
107
/// (overriding any conflicting messages).
108
#[instrument(level = "trace")]
109
pub fn fluent_bundle(
110
- user_provided_sysroot: PathBuf,
+ sysroot: PathBuf,
111
sysroot_candidates: Vec<PathBuf>,
112
requested_locale: Option<LanguageIdentifier>,
113
additional_ftl_path: Option<&Path>,
@@ -142,9 +142,7 @@ pub fn fluent_bundle(
142
// If the user requests the default locale then don't try to load anything.
143
if let Some(requested_locale) = requested_locale {
144
let mut found_resources = false;
145
- for mut sysroot in
146
- Some(user_provided_sysroot).into_iter().chain(sysroot_candidates.into_iter())
147
- {
+ for mut sysroot in Some(sysroot).into_iter().chain(sysroot_candidates.into_iter()) {
148
sysroot.push("share");
149
sysroot.push("locale");
150
sysroot.push(requested_locale.to_string());
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments