rust/compiler/rustc_passes/src
Guillaume Gomez 189bfc1e63
Rollup merge of #143279 - GuillaumeGomez:rm-itemkind-descr, r=oli-obk
Remove `ItemKind::descr` method

Follow-up of rust-lang/rust#143234.

After this PR is merged, it will remain two `descr` methods:

 * `hir::GenericArg::descr`
 * `hir::AssocItemConstraintKind::descr`

For both these enums, I don't think there is the right equivalent in `hir::DefKind` so unless I missed something, we can't remove these two methods because we can't convert these enums into `hir::DefKind`.

r? `@oli-obk`
2025-07-01 17:47:06 +02:00
..
liveness compiler: Use size_of from the prelude instead of imported 2025-03-07 13:37:04 -08:00
abi_test.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
check_attr.rs Rollup merge of #143279 - GuillaumeGomez:rm-itemkind-descr, r=oli-obk 2025-07-01 17:47:06 +02:00
check_export.rs apply clippy::or_fun_call 2025-06-17 13:59:53 +03:00
dead.rs Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obk 2025-06-25 22:14:55 +02:00
debugger_visualizer.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
diagnostic_items.rs Implement lint against direct uses of rustc_type_ir in compiler crates 2025-06-18 16:01:41 +02:00
entry.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00
errors.rs Auto merge of #142921 - JonathanBrouwer:rustc_attributes_parser, r=oli-obk 2025-07-01 08:33:00 +00:00
hir_id_validator.rs Adjust Map's to_string functionality. 2025-03-12 08:30:03 +11:00
input_stats.rs Tweak -Zinput-stats and -Zmeta-stats output. 2025-06-24 13:07:14 +10:00
lang_items.rs deduplicate more walk_* methods in AST visit 2025-06-06 04:59:26 +00:00
layout_test.rs Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
lib.rs Remove check_mod_loops query and run the checks per-body instead 2025-06-10 08:41:23 +00:00
lib_features.rs Tracking the old name of renamed unstable library attribute 2025-06-12 19:24:11 +08:00
liveness.rs Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obk 2025-06-25 22:14:55 +02:00
reachable.rs Cleanup CodegenFnAttrFlags 2025-05-24 20:31:37 +02:00
stability.rs Tracking the old name of renamed unstable library attribute 2025-06-12 19:24:11 +08:00
upvars.rs Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
weak_lang_items.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00