rust/compiler
bors 60660371ef Auto merge of #109557 - fee1-dead-contrib:mv-const-traits, r=oli-obk
Move const trait bounds checks to MIR constck

Fixes #109543. When checking paths in HIR typeck, we don't want to check for const predicates since all we want might just be a function pointer. Therefore we move this to MIR constck and check that bounds are met during MIR constck.

r? `@oli-obk`
2023-03-28 09:43:19 +00:00
..
rustc
rustc_abi Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors 2023-03-27 18:56:19 +02:00
rustc_ast_lowering Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors 2023-03-27 18:56:19 +02:00
rustc_ast_passes rustc: Remove unused Session argument from some attribute functions 2023-03-22 13:55:55 +04:00
rustc_ast_pretty Remove the NodeId of ast::ExprKind::Async 2023-03-19 19:01:31 +01:00
rustc_attr Bless tidy 2023-03-27 18:58:07 +00:00
rustc_baked_icu_data
rustc_borrowck Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_builtin_macros Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors 2023-03-27 18:56:19 +02:00
rustc_codegen_cranelift Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_codegen_gcc Use poison instead of undef 2023-03-16 15:07:04 +01:00
rustc_codegen_llvm Rollup merge of #109635 - Nilstrieb:debrrruginfo, r=compiler=errors 2023-03-27 08:46:54 +02:00
rustc_codegen_ssa Bless tidy 2023-03-27 18:58:07 +00:00
rustc_const_eval Move const trait bounds checks to MIR constck 2023-03-28 08:39:55 +00:00
rustc_data_structures Rollup merge of #107718 - Zoxc:z-time, r=nnethercote 2023-03-23 19:55:43 +01:00
rustc_driver
rustc_driver_impl Rollup merge of #107718 - Zoxc:z-time, r=nnethercote 2023-03-23 19:55:43 +01:00
rustc_error_codes Rollup merge of #109565 - WaffleLapkin:better_docs_for_e0223, r=oli-obk 2023-03-28 07:01:08 +02:00
rustc_error_messages
rustc_errors Rollup merge of #109403 - chenyukang:yukang/fix-109396, r=estebank 2023-03-21 19:00:13 +01:00
rustc_expand Separate find_*_stability. 2023-03-23 19:52:27 +00:00
rustc_feature Rollup merge of #108549 - clubby789:fix-link-cfg-issue, r=eholk 2023-03-23 19:55:44 +01:00
rustc_fs_util Add try_canonicalize to rustc_fs_util and use it over fs::canonicalize 2023-03-16 21:50:23 +01:00
rustc_graphviz
rustc_hir Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk 2023-03-23 00:00:31 +05:30
rustc_hir_analysis Don't elaborate non-obligations into obligations 2023-03-26 20:33:54 +00:00
rustc_hir_pretty
rustc_hir_typeck Move const trait bounds checks to MIR constck 2023-03-28 08:39:55 +00:00
rustc_incremental Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_index Use SmallVec in bitsets 2023-03-21 22:20:09 +01:00
rustc_infer Rollup merge of #109641 - compiler-errors:dont-elaborate-non-obl, r=oli-obk 2023-03-27 08:46:55 +02:00
rustc_interface Rollup merge of #109685 - est31:not_llvm_but_backend, r=jyn514 2023-03-28 07:01:12 +02:00
rustc_lexer
rustc_lint Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors 2023-03-27 18:56:19 +02:00
rustc_lint_defs Rollup merge of #108588 - ehuss:lint-docs-produces, r=eholk 2023-03-23 19:55:45 +01:00
rustc_llvm Link against libc++ on AIX 2023-03-23 16:33:54 +08:00
rustc_log
rustc_macros
rustc_metadata Auto merge of #109547 - matthiaskrgr:rollup-zczqgdk, r=matthiaskrgr 2023-03-24 02:29:48 +00:00
rustc_middle Rollup merge of #109621 - scottmcm:update-variantidx, r=compiler-errors 2023-03-26 08:39:28 +02:00
rustc_mir_build Rollup merge of #108548 - jamen:master, r=compiler-errors 2023-03-28 07:01:08 +02:00
rustc_mir_dataflow Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_mir_transform Rollup merge of #109641 - compiler-errors:dont-elaborate-non-obl, r=oli-obk 2023-03-27 08:46:55 +02:00
rustc_monomorphize
rustc_parse Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors 2023-03-27 18:56:19 +02:00
rustc_parse_format
rustc_passes Separate find_*_stability. 2023-03-23 19:52:27 +00:00
rustc_plugin_impl expand: Pass ast::Crate by reference to AST transforming passes 2023-03-23 14:20:55 +04:00
rustc_privacy Rename AliasEq -> AliasRelate 2023-03-23 05:56:40 +00:00
rustc_query_impl AsLocalKey trait 2023-03-21 15:38:52 +00:00
rustc_query_system no shadow plz 2023-03-27 20:47:15 +00:00
rustc_resolve Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errors 2023-03-27 18:56:19 +02:00
rustc_serialize
rustc_session Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_smir
rustc_span Rollup merge of #109213 - oli-obk:cstore, r=cjgillot 2023-03-22 22:44:40 +01:00
rustc_symbol_mangling Use local key in providers 2023-03-21 15:38:51 +00:00
rustc_target Rollup merge of #109231 - Zoxc:fs-non-canon, r=eholk 2023-03-23 19:55:45 +01:00
rustc_trait_selection Rollup merge of #109580 - compiler-errors:new-solver-fixmes, r=lcnr 2023-03-27 15:32:41 +02:00
rustc_traits Rename AliasEq -> AliasRelate 2023-03-23 05:56:40 +00:00
rustc_transmute
rustc_ty_utils Refactor: VariantIdx::from_u32(0) -> FIRST_VARIANT 2023-03-25 18:58:25 -07:00
rustc_type_ir Generate simpler MIR for shifts 2023-03-22 13:32:12 -07:00