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:
parent
d929a42a66
commit
0c0dfb88ee
27 changed files with 196 additions and 122 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue