Migrate rustc_mir_dataflow to diagnostic structs
This commit is contained in:
parent
38528d4dc0
commit
ee2b16100e
8 changed files with 129 additions and 22 deletions
|
@ -0,0 +1,29 @@
|
|||
rustc_mir_dataflow_path_must_end_in_filename =
|
||||
path must end in a filename
|
||||
|
||||
rustc_mir_dataflow_unknown_formatter =
|
||||
unknown formatter
|
||||
|
||||
rustc_mir_dataflow_duplicate_values_for =
|
||||
duplicate values for `{$name}`
|
||||
|
||||
rustc_mir_dataflow_requires_an_argument =
|
||||
`{$name}` requires an argument
|
||||
|
||||
rustc_mir_dataflow_stop_after_dataflow_ended_compilation =
|
||||
stop_after_dataflow ended compilation
|
||||
|
||||
rustc_mir_dataflow_peek_must_be_place_or_ref_place =
|
||||
rustc_peek: argument expression must be either `place` or `&place`
|
||||
|
||||
rustc_mir_dataflow_peek_must_be_not_temporary =
|
||||
dataflow::sanity_check cannot feed a non-temp to rustc_peek.
|
||||
|
||||
rustc_mir_dataflow_peek_bit_not_set =
|
||||
rustc_peek: bit not set
|
||||
|
||||
rustc_mir_dataflow_peek_argument_not_a_local =
|
||||
rustc_peek: argument was not a local
|
||||
|
||||
rustc_mir_dataflow_peek_argument_untracked =
|
||||
rustc_peek: argument untracked
|
|
@ -43,6 +43,7 @@ fluent_messages! {
|
|||
passes => "../locales/en-US/passes.ftl",
|
||||
privacy => "../locales/en-US/privacy.ftl",
|
||||
typeck => "../locales/en-US/typeck.ftl",
|
||||
rustc_mir_dataflow => "../locales/en-US/rustc_mir_dataflow.ftl",
|
||||
}
|
||||
|
||||
pub use fluent_generated::{self as fluent, DEFAULT_LOCALE_RESOURCES};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue