1
Fork 0

Switch back non_local_definitions lint to allow-by-default

as request T-lang is requesting some major changes in the lint inner
workings in #126768#issuecomment-2192634762
This commit is contained in:
Urgau 2024-06-27 08:05:07 +02:00
parent d929a42a66
commit 0c0dfb88ee
27 changed files with 196 additions and 122 deletions

View file

@ -50,7 +50,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,
Warn,
Allow,
"checks for non-local definitions",
report_in_external_macro
}