Fix diagnostic for qualifier in extern block
Closes: https://github.com/rust-lang/rust/issues/123306
This commit is contained in:
parent
45796d1c24
commit
109daa2d4b
10 changed files with 93 additions and 72 deletions
|
@ -68,7 +68,7 @@ ast_passes_extern_block_suggestion = if you meant to declare an externally defin
|
|||
|
||||
ast_passes_extern_fn_qualifiers = functions in `extern` blocks cannot have qualifiers
|
||||
.label = in this `extern` block
|
||||
.suggestion = remove the qualifiers
|
||||
.suggestion = remove this qualifier
|
||||
|
||||
ast_passes_extern_item_ascii = items in `extern` blocks cannot use non-ascii identifiers
|
||||
.label = in this `extern` block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue