rust/compiler
fee1-dead eba419195c
Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors
Remove `TypeSuper{Foldable,Visitable}` impls for `Region`.

These traits exist so that folders/visitors can recurse into types of interest: binders, types, regions, predicates, and consts. But `Region` is non-recursive and cannot contain other types of interest, so its methods in these traits are trivial.

This commit inlines and removes those trivial methods.

r? `@compiler-errors`
2023-04-16 18:55:38 +08:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck fix clippy::{clone_on_copy, useless_conversion} 2023-04-15 19:02:26 +02:00
rustc_builtin_macros
rustc_codegen_cranelift Remove from cranelift too. 2023-04-14 16:26:11 +00:00
rustc_codegen_gcc Auto merge of #109989 - ids1024:m68k-asm, r=Amanieu 2023-04-13 11:41:57 +00:00
rustc_codegen_llvm Add inline assembly support for m68k 2023-04-12 17:58:15 -07:00
rustc_codegen_ssa Remove attempt to optimize codegen for discriminants. 2023-04-14 16:26:11 +00:00
rustc_const_eval Implement Copy for LocationDetail 2023-04-13 18:04:30 +00:00
rustc_data_structures
rustc_driver
rustc_driver_impl Rollup merge of #110072 - joshtriplett:stabilize-is-terminal, r=Mark-Simulacrum 2023-04-13 11:21:00 +02:00
rustc_error_codes
rustc_error_messages
rustc_errors Rollup merge of #110072 - joshtriplett:stabilize-is-terminal, r=Mark-Simulacrum 2023-04-13 11:21:00 +02:00
rustc_expand
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
rustc_hir_pretty
rustc_hir_typeck fix clippy::{filter_map_identiy, map_identity, manual_flatten} 2023-04-15 18:56:25 +02:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
rustc_interface
rustc_lexer
rustc_lint
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros Rollup merge of #109665 - fee1-dead-contrib:rm-remap-queries, r=oli-obk 2023-04-16 18:55:38 +08:00
rustc_metadata
rustc_middle Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
rustc_mir_build Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesleywiser 2023-04-13 01:51:27 +00:00
rustc_mir_dataflow
rustc_mir_transform Remove outdated comment. 2023-04-15 07:46:46 +00:00
rustc_monomorphize fix clippy::{filter_map_identiy, map_identity, manual_flatten} 2023-04-15 18:56:25 +02:00
rustc_parse remove redundant clones 2023-04-15 18:04:51 +02:00
rustc_parse_format
rustc_passes impl reviewer feedback 2023-04-13 23:39:14 +12:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl fix clippy::{clone_on_copy, useless_conversion} 2023-04-15 19:02:26 +02:00
rustc_query_system
rustc_resolve Auto merge of #110160 - petrochenkov:notagain2, r=cjgillot 2023-04-14 01:14:36 +00:00
rustc_serialize
rustc_session Implement Copy for LocationDetail 2023-04-13 18:04:30 +00:00
rustc_smir Add a stable MIR way to get the main function 2023-04-14 07:28:56 +00:00
rustc_span Convert comment to doc comment on Interner::get. 2023-04-15 21:50:57 +00:00
rustc_symbol_mangling
rustc_target Auto merge of #109989 - ids1024:m68k-asm, r=Amanieu 2023-04-13 11:41:57 +00:00
rustc_trait_selection Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
rustc_traits Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
rustc_transmute Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
rustc_ty_utils
rustc_type_ir Remove TypeSuper{Foldable,Visitable} impls for Region. 2023-04-16 09:11:43 +10:00