rust/compiler
Michael Goulet b0483e8004
Rollup merge of #109938 - oli-obk:try_norm, r=compiler-errors
Move a const-prop-lint specific hack from mir interpret to const-prop-lint and make it fallible

fixes #109743

This hack didn't need to live in the mir interpreter. For const-prop-lint it is entirely correct to avoid doing any const prop if normalization fails at this stage. Most likely we couldn't const propagate anything anyway, and if revealing was needed (so opaque types were involved), we wouldn't want to be too smart and leak the hidden type anyway.
2023-04-04 09:27:47 -07:00
..
rustc
rustc_abi Use &IndexSlice instead of &IndexVec where possible 2023-04-02 17:35:37 -07:00
rustc_apfloat
rustc_arena
rustc_ast Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_ast_lowering Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_ast_passes Rollup merge of #109914 - compiler-errors:rtn-bad-parens, r=oli-obk 2023-04-04 09:27:46 -07:00
rustc_ast_pretty Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_attr Bless tidy 2023-03-27 18:58:07 +00:00
rustc_baked_icu_data
rustc_borrowck Doc-comment IndexVec::from_elem and use it in a few more places 2023-04-03 14:29:32 -07:00
rustc_builtin_macros Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_codegen_cranelift Use FieldIdx in various things related to aggregates 2023-04-01 20:32:50 -07:00
rustc_codegen_gcc Update gccjit and remove libc 0.1 dependency 2023-03-30 18:30:56 +02:00
rustc_codegen_llvm Use &IndexSlice instead of &IndexVec where possible 2023-04-02 17:35:37 -07:00
rustc_codegen_ssa Rollup merge of #109901 - cjgillot:validate-debuginfo, r=b-naber 2023-04-04 09:27:44 -07:00
rustc_const_eval Rollup merge of #109938 - oli-obk:try_norm, r=compiler-errors 2023-04-04 09:27:47 -07:00
rustc_data_structures Use &IndexSlice instead of &IndexVec where possible 2023-04-02 17:35:37 -07:00
rustc_driver
rustc_driver_impl Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04: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 Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
rustc_errors a couple clippy::complexity fixes 2023-04-01 23:16:33 +02:00
rustc_expand Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_feature Auto merge of #109824 - GuillaumeGomez:rollup-i5r4uts, r=GuillaumeGomez 2023-03-31 20:38:06 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #109010 - compiler-errors:rtn, r=eholk 2023-03-31 18:04:12 +00:00
rustc_hir_analysis Remove intercrate and mark_ambiguous from Relation 2023-04-04 00:09:12 +00:00
rustc_hir_pretty Add (..) syntax for RTN 2023-03-28 01:14:28 +00:00
rustc_hir_typeck slighty simplify a few boolean expressions (clippy::nonminimal_bool) 2023-04-01 23:55:22 +02:00
rustc_incremental Check for escape sequences in Fluent resources 2023-03-29 18:34:29 +01:00
rustc_index Doc-comment IndexVec::from_elem and use it in a few more places 2023-04-03 14:29:32 -07:00
rustc_infer Rollup merge of #109913 - scottmcm:index-slice, r=WaffleLapkin 2023-04-04 09:27:45 -07:00
rustc_interface Improve with_source_map. 2023-03-31 15:57:25 +11:00
rustc_lexer
rustc_lint Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_lint_defs Rollup merge of #108588 - ehuss:lint-docs-produces, r=eholk 2023-03-23 19:55:45 +01:00
rustc_llvm Auto merge of #109720 - Dylan-DPC:rollup-u564m8s, r=Dylan-DPC 2023-03-29 09:45:26 +00:00
rustc_log
rustc_macros Don't emit the OS error in a note 2023-03-31 03:49:21 +02:00
rustc_metadata Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-se 2023-03-30 10:12:23 +00:00
rustc_middle Rollup merge of #109938 - oli-obk:try_norm, r=compiler-errors 2023-04-04 09:27:47 -07:00
rustc_mir_build Rollup merge of #109838 - clubby789:non-exhaustive-span, r=Nilstrieb 2023-04-04 09:27:44 -07:00
rustc_mir_dataflow Use &IndexSlice instead of &IndexVec where possible 2023-04-02 17:35:37 -07:00
rustc_mir_transform Rollup merge of #109938 - oli-obk:try_norm, r=compiler-errors 2023-04-04 09:27:47 -07:00
rustc_monomorphize Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=Nilstrieb 2023-04-02 10:08:35 +02:00
rustc_parse Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_parse_format
rustc_passes slighty simplify a few boolean expressions (clippy::nonminimal_bool) 2023-04-01 23:55:22 +02:00
rustc_plugin_impl expand: Pass ast::Crate by reference to AST transforming passes 2023-03-23 14:20:55 +04:00
rustc_privacy Auto merge of #109762 - scottmcm:variantdef-indexvec, r=WaffleLapkin 2023-03-31 03:36:18 +00:00
rustc_query_impl Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
rustc_query_system Remove an out-of-date comment on QueryCache::lookup. 2023-03-30 21:14:43 +11:00
rustc_resolve Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
rustc_serialize Update indexmap and rayon crates 2023-03-25 02:12:13 +01:00
rustc_session use and_then/flat_map for map().flatten() 2023-04-01 23:50:45 +02:00
rustc_smir
rustc_span a couple clippy::complexity fixes 2023-04-01 23:16:33 +02:00
rustc_symbol_mangling Support TLS access into dylibs on Windows 2023-03-29 08:55:21 +02:00
rustc_target Auto merge of #109721 - QuinnPainter:armv4t-lld, r=petrochenkov 2023-04-01 01:55:16 +00:00
rustc_trait_selection Auto merge of #109917 - compiler-errors:remove-relation-methods, r=oli-obk 2023-04-04 11:08:23 +00:00
rustc_traits fix clippy::iter_kv_map 2023-04-01 23:44:16 +02:00
rustc_transmute
rustc_ty_utils Doc-comment IndexVec::from_elem and use it in a few more places 2023-04-03 14:29:32 -07:00
rustc_type_ir Generate simpler MIR for shifts 2023-03-22 13:32:12 -07:00