rust/compiler
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
..
rustc
rustc_abi Rename inihibit_union_abi_opt() to inihibits_union_abi_opt() 2024-04-28 13:09:36 +05:30
rustc_arena
rustc_ast Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_ast_ir Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
rustc_ast_lowering Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_ast_passes Replace item names containing an error code with something more meaningful 2024-04-30 22:27:19 +02:00
rustc_ast_pretty Rollup merge of #124524 - spastorino:make-foreign-static-use-struct, r=oli-obk 2024-04-30 06:43:42 +02:00
rustc_attr Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
rustc_baked_icu_data
rustc_borrowck Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_builtin_macros Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_codegen_ssa Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
rustc_const_eval
rustc_data_structures Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
rustc_driver
rustc_driver_impl Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_error_codes Rollup merge of #123247 - veera-sivarajan:fix-error-code-E0637-example-code, r=fmease 2024-04-30 15:04:08 +02:00
rustc_error_messages
rustc_errors Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_expand Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_feature
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_hir_analysis Auto merge of #124356 - fmease:fewer-magic-numbers-in-names, r=lcnr 2024-05-01 00:04:36 +00:00
rustc_hir_pretty
rustc_hir_typeck Replace item names containing an error code with something more meaningful 2024-04-30 22:27:19 +02:00
rustc_incremental Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
rustc_index
rustc_index_macros
rustc_infer Remove extern crate rustc_data_structures from numerous crates. 2024-04-29 18:45:14 +10:00
rustc_interface coverage: Replace boolean options with a CoverageLevel enum 2024-04-29 20:04:22 +10:00
rustc_lexer
rustc_lint Auto merge of #124539 - Urgau:non-local-defs_modulo_modules, r=lcnr 2024-05-01 06:21:31 +00:00
rustc_lint_defs Auto merge of #117164 - fmease:orphan-norm, r=lcnr 2024-04-30 20:51:46 +00:00
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
rustc_middle Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
rustc_mir_build Replace item names containing an error code with something more meaningful 2024-04-30 22:27:19 +02:00
rustc_mir_dataflow Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_mir_transform Auto merge of #124558 - matthiaskrgr:rollup-axi1bxu, r=matthiaskrgr 2024-04-30 13:13:54 +00:00
rustc_monomorphize Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
rustc_next_trait_solver
rustc_parse Add StaticForeignItem and use it on ForeignItemKind 2024-04-29 13:15:51 -03:00
rustc_parse_format
rustc_passes Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
rustc_pattern_analysis Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_privacy Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_query_impl
rustc_query_system Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_resolve Add StaticForeignItem and use it on ForeignItemKind 2024-04-29 13:15:51 -03:00
rustc_sanitizers
rustc_serialize
rustc_session Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_smir
rustc_span Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
rustc_symbol_mangling Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_target Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_trait_selection Auto merge of #124356 - fmease:fewer-magic-numbers-in-names, r=lcnr 2024-05-01 00:04:36 +00:00
rustc_traits Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_transmute Remove extern crate tracing from numerous crates. 2024-04-30 16:47:49 +10:00
rustc_ty_utils Give items related to issue 33140 a more meaningful name 2024-04-30 22:27:19 +02:00
rustc_type_ir Remove extern crate bitflags from a couple of crates. 2024-04-29 18:47:54 +10:00
stable_mir Remove extern crate scoped_tls from stable_mir. 2024-04-30 16:47:49 +10:00