rust/compiler
bors f5355b93ba Auto merge of #124356 - fmease:fewer-magic-numbers-in-names, r=lcnr
Cleanup: Replace item names referencing GitHub issues or error codes with something more meaningful

**lcnr** in https://github.com/rust-lang/rust/pull/117164#pullrequestreview-1969935387:

> […] while I know that there's precendent to name things `Issue69420`, I really dislike this as it requires looking up the issue to figure out the purpose of such a variant. Actually referring to the underlying issue, e.g. `AliasMayNormToUncovered` or whatever and then linking to the issue in a doc comment feels a lot more desirable to me. We should ideally rename all the functions and enums which currently use issue numbers.

I've grepped through `compiler/` like crazy and think that I've found all instances of this pattern.
However, I haven't renamed `compute_2229_migrations_*`. Should I?

The first commit introduces an abhorrent and super long name for an item because naming is hard but also scary looking / unwelcoming names are good for things related to temporary-ish backcompat hacks. I'll let you discover it by yourself.

Contains a bit of drive-by cleanup and a diag migration bc that was the simplest option.

r? lcnr or compiler
2024-05-01 00:04:36 +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 debuginfo: Stabilize -Z debug-macros, -Z collapse-macro-debuginfo and #[collapse_debuginfo] 2024-04-25 22:14:47 +03:00
rustc_codegen_gcc Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
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 properly fill a promoted's required_consts 2024-04-23 23:02:54 +02:00
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 debuginfo: Stabilize -Z debug-macros, -Z collapse-macro-debuginfo and #[collapse_debuginfo] 2024-04-25 22:14:47 +03:00
rustc_fluent_macro
rustc_fs_util Stabilize std::path::absolute 2024-04-24 14:35:02 +00:00
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 Improved the compiler code with clippy 2024-04-24 09:41:44 +02:00
rustc_lint Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
rustc_lint_defs Auto merge of #117164 - fmease:orphan-norm, r=lcnr 2024-04-30 20:51:46 +00:00
rustc_llvm Rollup merge of #124287 - 41Leahcim:master, r=fmease 2024-04-25 18:57:56 +02:00
rustc_log
rustc_macros Rollup merge of #124287 - 41Leahcim:master, r=fmease 2024-04-25 18:57:56 +02:00
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 Stabilise inline_const 2024-04-24 13:12:25 +01:00
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