rust/compiler/rustc_lint
bors 378a43a065 Auto merge of #124539 - Urgau:non-local-defs_modulo_modules, r=lcnr
Consider inner modules to be local in the `non_local_definitions` lint

This PR implements the [proposed fix](https://github.com/rust-lang/rust/issues/124396#issuecomment-2079553642) for #124396, that is to consider inner modules to be local in the `non_local_definitions` lint.

This PR is voluntarily kept as minimal as possible so it can be backported easily.

T-lang [nomination](https://github.com/rust-lang/rust/issues/124396#issuecomment-2079692820) will need to be removed before this can be merged.

Fixes *(nearly, needs backport)* https://github.com/rust-lang/rust/issues/124396
2024-05-01 06:21:31 +00:00
..
src Auto merge of #124539 - Urgau:non-local-defs_modulo_modules, r=lcnr 2024-05-01 06:21:31 +00:00
Cargo.toml Remove useless smallvec dependency in rustc_lint::non_local_def 2024-03-07 07:54:15 +01:00
messages.ftl Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00