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:
David Wood 2022-09-28 10:21:33 +01:00
parent 6b139c5b3e
commit c4418e1940
9 changed files with 326 additions and 319 deletions

View file

@ -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();