errors: rename typeck.ftl
to hir_analysis.ftl
In #102306, `rustc_typeck` was renamed to `rustc_hir_analysis` but the diagnostic resources were not renamed - which is what this commit changes. Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
6b139c5b3e
commit
c4418e1940
9 changed files with 326 additions and 319 deletions
|
@ -36,7 +36,7 @@ impl<'a> DiagnosticDerive<'a> {
|
|||
span_err(builder.span, "diagnostic slug not specified")
|
||||
.help(&format!(
|
||||
"specify the slug as the first argument to the `#[diag(...)]` \
|
||||
attribute, such as `#[diag(typeck::example_error)]`",
|
||||
attribute, such as `#[diag(hir_analysis::example_error)]`",
|
||||
))
|
||||
.emit();
|
||||
return DiagnosticDeriveError::ErrorHandled.to_compile_error();
|
||||
|
@ -113,7 +113,7 @@ impl<'a> LintDiagnosticDerive<'a> {
|
|||
span_err(builder.span, "diagnostic slug not specified")
|
||||
.help(&format!(
|
||||
"specify the slug as the first argument to the attribute, such as \
|
||||
`#[diag(typeck::example_error)]`",
|
||||
`#[diag(compiletest::example)]`",
|
||||
))
|
||||
.emit();
|
||||
return DiagnosticDeriveError::ErrorHandled.to_compile_error();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue