hir-analysis: make one diagnostic translatable
This commit is contained in:
parent
3200982b76
commit
b483816d88
3 changed files with 13 additions and 4 deletions
|
@ -124,3 +124,6 @@ hir_analysis_linkage_type =
|
|||
hir_analysis_auto_deref_reached_recursion_limit = reached the recursion limit while auto-dereferencing `{$ty}`
|
||||
.label = deref recursion limit reached
|
||||
.help = consider increasing the recursion limit by adding a `#![recursion_limit = "{$suggested_limit}"]` attribute to your crate (`{$crate_name}`)
|
||||
|
||||
hir_analysis_track_caller_on_main = `main` function is not allowed to be `#[track_caller]`
|
||||
.label = `main` function is not allowed to be `#[track_caller]`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue