1
Fork 0

Revert "Switch back non_local_definitions lint to allow-by-default"

This reverts commit 0c0dfb88ee.
This commit is contained in:
Urgau 2024-06-29 12:10:33 +02:00
parent 702987f75b
commit cb58668748
27 changed files with 119 additions and 193 deletions

View file

@ -49,7 +49,7 @@ declare_lint! {
/// All nested bodies (functions, enum discriminant, array length, consts) (expect for
/// `const _: Ty = { ... }` in top-level module, which is still undecided) are checked.
pub NON_LOCAL_DEFINITIONS,
Allow,
Warn,
"checks for non-local definitions",
report_in_external_macro
}