Rename rustc_mir_dataflow diagnostic to mir_dataflow
This commit is contained in:
parent
7f125ed7d5
commit
f20cc9ae4e
4 changed files with 40 additions and 40 deletions
29
compiler/rustc_error_messages/locales/en-US/mir_dataflow.ftl
Normal file
29
compiler/rustc_error_messages/locales/en-US/mir_dataflow.ftl
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
mir_dataflow_path_must_end_in_filename =
|
||||||
|
path must end in a filename
|
||||||
|
|
||||||
|
mir_dataflow_unknown_formatter =
|
||||||
|
unknown formatter
|
||||||
|
|
||||||
|
mir_dataflow_duplicate_values_for =
|
||||||
|
duplicate values for `{$name}`
|
||||||
|
|
||||||
|
mir_dataflow_requires_an_argument =
|
||||||
|
`{$name}` requires an argument
|
||||||
|
|
||||||
|
mir_dataflow_stop_after_dataflow_ended_compilation =
|
||||||
|
stop_after_dataflow ended compilation
|
||||||
|
|
||||||
|
mir_dataflow_peek_must_be_place_or_ref_place =
|
||||||
|
rustc_peek: argument expression must be either `place` or `&place`
|
||||||
|
|
||||||
|
mir_dataflow_peek_must_be_not_temporary =
|
||||||
|
dataflow::sanity_check cannot feed a non-temp to rustc_peek
|
||||||
|
|
||||||
|
mir_dataflow_peek_bit_not_set =
|
||||||
|
rustc_peek: bit not set
|
||||||
|
|
||||||
|
mir_dataflow_peek_argument_not_a_local =
|
||||||
|
rustc_peek: argument was not a local
|
||||||
|
|
||||||
|
mir_dataflow_peek_argument_untracked =
|
||||||
|
rustc_peek: argument untracked
|
|
@ -1,29 +0,0 @@
|
||||||
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,7 +43,7 @@ fluent_messages! {
|
||||||
passes => "../locales/en-US/passes.ftl",
|
passes => "../locales/en-US/passes.ftl",
|
||||||
privacy => "../locales/en-US/privacy.ftl",
|
privacy => "../locales/en-US/privacy.ftl",
|
||||||
typeck => "../locales/en-US/typeck.ftl",
|
typeck => "../locales/en-US/typeck.ftl",
|
||||||
rustc_mir_dataflow => "../locales/en-US/rustc_mir_dataflow.ftl",
|
mir_dataflow => "../locales/en-US/mir_dataflow.ftl",
|
||||||
}
|
}
|
||||||
|
|
||||||
pub use fluent_generated::{self as fluent, DEFAULT_LOCALE_RESOURCES};
|
pub use fluent_generated::{self as fluent, DEFAULT_LOCALE_RESOURCES};
|
||||||
|
|
|
@ -2,21 +2,21 @@ use rustc_macros::SessionDiagnostic;
|
||||||
use rustc_span::{Span, Symbol};
|
use rustc_span::{Span, Symbol};
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::path_must_end_in_filename)]
|
#[diag(mir_dataflow::path_must_end_in_filename)]
|
||||||
pub(crate) struct PathMustEndInFilename {
|
pub(crate) struct PathMustEndInFilename {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::unknown_formatter)]
|
#[diag(mir_dataflow::unknown_formatter)]
|
||||||
pub(crate) struct UnknownFormatter {
|
pub(crate) struct UnknownFormatter {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::duplicate_values_for)]
|
#[diag(mir_dataflow::duplicate_values_for)]
|
||||||
pub(crate) struct DuplicateValuesFor {
|
pub(crate) struct DuplicateValuesFor {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
|
@ -24,7 +24,7 @@ pub(crate) struct DuplicateValuesFor {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::requires_an_argument)]
|
#[diag(mir_dataflow::requires_an_argument)]
|
||||||
pub(crate) struct RequiresAnArgument {
|
pub(crate) struct RequiresAnArgument {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
|
@ -32,39 +32,39 @@ pub(crate) struct RequiresAnArgument {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::stop_after_dataflow_ended_compilation)]
|
#[diag(mir_dataflow::stop_after_dataflow_ended_compilation)]
|
||||||
pub(crate) struct StopAfterDataFlowEndedCompilation;
|
pub(crate) struct StopAfterDataFlowEndedCompilation;
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::peek_must_be_place_or_ref_place)]
|
#[diag(mir_dataflow::peek_must_be_place_or_ref_place)]
|
||||||
pub(crate) struct PeekMustBePlaceOrRefPlace {
|
pub(crate) struct PeekMustBePlaceOrRefPlace {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::peek_must_be_not_temporary)]
|
#[diag(mir_dataflow::peek_must_be_not_temporary)]
|
||||||
pub(crate) struct PeekMustBeNotTemporary {
|
pub(crate) struct PeekMustBeNotTemporary {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::peek_bit_not_set)]
|
#[diag(mir_dataflow::peek_bit_not_set)]
|
||||||
pub(crate) struct PeekBitNotSet {
|
pub(crate) struct PeekBitNotSet {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::peek_argument_not_a_local)]
|
#[diag(mir_dataflow::peek_argument_not_a_local)]
|
||||||
pub(crate) struct PeekArgumentNotALocal {
|
pub(crate) struct PeekArgumentNotALocal {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(SessionDiagnostic)]
|
#[derive(SessionDiagnostic)]
|
||||||
#[diag(rustc_mir_dataflow::peek_argument_untracked)]
|
#[diag(mir_dataflow::peek_argument_untracked)]
|
||||||
pub(crate) struct PeekArgumentUntracked {
|
pub(crate) struct PeekArgumentUntracked {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue