Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate rustc_interface diagnostics #100808

Merged
merged 6 commits into from
Aug 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Prefix fluent resources with interface_
  • Loading branch information
SkiFire13 committed Aug 22, 2022
commit 217a11bdb1d95fbed608636025e9eee9b9daaeb4
24 changes: 12 additions & 12 deletions compiler/rustc_error_messages/locales/en-US/interface.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,39 @@ interface_ferris_identifier =
interface_emoji_identifier =
identifiers cannot contain emoji: `{$ident}`

mixed_bin_crate =
interface_mixed_bin_crate =
cannot mix `bin` crate type with others

mixed_proc_macro_crate =
interface_mixed_proc_macro_crate =
cannot mix `proc-macro` crate type with others

proc_macro_doc_without_arg =
interface_proc_macro_doc_without_arg =
Trying to document proc macro crate without passing '--crate-type proc-macro to rustdoc
.warn = The generated documentation may be incorrect

error_writing_dependencies =
interface_error_writing_dependencies =
error writing dependencies to `{$path}`: {$error}

input_file_would_be_overwritten =
interface_input_file_would_be_overwritten =
the input file "{$path}" would be overwritten by the generated executable

generated_file_conflicts_with_directory =
interface_generated_file_conflicts_with_directory =
the generated executable for the input file "{$input_path}" conflicts with the existing directory "{$dir_path}"

temps_dir_error =
interface_temps_dir_error =
failed to find or create the directory specified by `--temps-dir`

out_dir_error =
interface_out_dir_error =
failed to find or create the directory specified by `--out-dir`

cant_emit_mir =
interface_cant_emit_mir =
could not emit MIR: {$error}

rustc_error_fatal =
interface_rustc_error_fatal =
fatal error triggered by #[rustc_error]

rustc_error_unexpected_annotation =
interface_rustc_error_unexpected_annotation =
unexpected annotation used with `#[rustc_error(...)]!

failed_writing_file =
interface_failed_writing_file =
failed to write file {$path}: {$error}"