Add hard error for extern without explicit ABI

This commit is contained in:
Obei Sideg 2025-04-08 05:30:21 +03:00
parent ee53c26b41
commit 01cfa9aad5
No known key found for this signature in database
GPG key ID: 14BF4B61362D0518
4 changed files with 21 additions and 6 deletions

View file

@ -271,7 +271,7 @@ lint_expectation = this lint expectation is unfulfilled
lint_extern_crate_not_idiomatic = `extern crate` is not idiomatic in the new edition
.suggestion = convert it to a `use`
lint_extern_without_abi = extern declarations without an explicit ABI are deprecated
lint_extern_without_abi = `extern` declarations without an explicit ABI are deprecated
.label = ABI should be specified here
.suggestion = explicitly specify the {$default_abi} ABI