rust/compiler
bors 11bb80a92b Auto merge of #101901 - lcnr:early-binder-type-foldable, r=compiler-errors
`EarlyBinder` prevent misuse

folding a type before substituting is pretty much always wrong and could happen by accident, e.g. see https://github.com/rust-lang/rust/pull/99798#discussion_r968666538

this PR removes the `TypeFoldable` and `TypeVisitable` impl from `EarlyBinder`.

r? types cc `@jackh726`
2022-09-19 10:35:09 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_ast_lowering Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_borrowck remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_builtin_macros
rustc_codegen_cranelift Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnr 2022-09-17 03:04:22 +00:00
rustc_codegen_gcc
rustc_codegen_llvm Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk 2022-09-17 15:31:07 +05:30
rustc_codegen_ssa Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_const_eval remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_data_structures
rustc_driver
rustc_error_codes
rustc_error_messages Auto merge of #101924 - jackh726:revert-static-hrtb-error, r=compiler-errors 2022-09-19 04:56:14 +00:00
rustc_errors Rollup merge of #101790 - TaKO8Ki:do-not-suggest-placeholder-to-const-and-static-without-type, r=compiler-errors 2022-09-17 15:31:08 +05:30
rustc_expand
rustc_feature Rollup merge of #101713 - Bryanskiy:AccessLevels, r=petrochenkov 2022-09-17 23:30:49 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_interface
rustc_lexer
rustc_lint Rollup merge of #101912 - crlf0710:compiler_update_unicode_15, r=Manishearth 2022-09-18 02:55:29 +02:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_middle extend polymorphization hack comment. 2022-09-19 11:44:29 +02:00
rustc_mir_build remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_mir_dataflow
rustc_mir_transform remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_monomorphize Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_parse Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_parse_format
rustc_passes Rollup merge of #101713 - Bryanskiy:AccessLevels, r=petrochenkov 2022-09-17 23:30:49 +02:00
rustc_plugin_impl
rustc_privacy Rollup merge of #101713 - Bryanskiy:AccessLevels, r=petrochenkov 2022-09-17 23:30:49 +02:00
rustc_query_impl Rollup merge of #101801 - SparrowLii:query_depth_note, r=estebank 2022-09-17 19:27:06 +02:00
rustc_query_system Rollup merge of #101801 - SparrowLii:query_depth_note, r=estebank 2022-09-17 19:27:06 +02:00
rustc_resolve Rollup merge of #101713 - Bryanskiy:AccessLevels, r=petrochenkov 2022-09-17 23:30:49 +02:00
rustc_save_analysis
rustc_serialize
rustc_session
rustc_smir
rustc_span Rollup merge of #101713 - Bryanskiy:AccessLevels, r=petrochenkov 2022-09-17 23:30:49 +02:00
rustc_symbol_mangling remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_target Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
rustc_trait_selection Auto merge of #101901 - lcnr:early-binder-type-foldable, r=compiler-errors 2022-09-19 10:35:09 +00:00
rustc_traits remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_transmute
rustc_ty_utils remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
rustc_type_ir
rustc_typeck remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00