rust/compiler
Matthias Krüger 680f8b8efe
Rollup merge of #111863 - compiler-errors:check-more-mir, r=b-naber
Don't skip mir typeck if body has errors

Comment says:

```
// if verifier failed, don't do further checks to avoid ICEs
```

But there are no ICEs to be found. The comment is quite old, so perhaps something fixed it... maybe because the MIR typechecker is delaying span bugs rather than panicking via eager bugs? IDK

I'm generally inclined to fix the ICEs themselves that were to arise from this, rather than just totally skipping large parts of the compiler that have impacts on downstream logic (namely, our opaque type results are affected). Anyways, this happens on the error path, so it shouldn't really matter.

Fixes this hack: https://github.com/rust-lang/rust/pull/111853/files#r1201501540
2023-05-24 21:36:58 +02:00
..
rustc
rustc_abi Avoid &format("...") calls in error message code. 2023-05-16 17:59:56 +10:00
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Turn debugger_visualizers from feed- into regular query. 2023-05-16 18:50:36 +02:00
rustc_ast_passes Run AST validation on match guards correctly 2023-05-22 14:52:52 +01:00
rustc_ast_pretty
rustc_attr Only depend on CFG_VERSION in rustc_interface 2023-05-17 23:54:21 -05:00
rustc_baked_icu_data
rustc_borrowck Rollup merge of #111863 - compiler-errors:check-more-mir, r=b-naber 2023-05-24 21:36:58 +02:00
rustc_builtin_macros Rollup merge of #111054 - cjgillot:cfg-eval-recover, r=b-naber 2023-05-18 17:37:08 +05:30
rustc_codegen_cranelift Rollup merge of #111633 - nnethercote:avoid-ref-format, r=WaffleLapkin 2023-05-18 10:52:35 +05:30
rustc_codegen_gcc
rustc_codegen_llvm Create a structure to define the features from to_llvm_features. 2023-05-22 14:46:40 +01:00
rustc_codegen_ssa Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiasko 2023-05-24 16:18:21 +00:00
rustc_const_eval Rollup merge of #111486 - fmease:pp-inh-proj, r=petrochenkov 2023-05-23 19:53:41 +02:00
rustc_data_structures Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiasko 2023-05-24 16:18:21 +00:00
rustc_driver
rustc_driver_impl Rollup merge of #111606 - jyn514:nightly-diagnostics, r=lcnr 2023-05-20 12:20:59 +05:30
rustc_error_codes
rustc_error_messages
rustc_errors Check opaques for mismatch during writeback 2023-05-22 23:33:34 +00:00
rustc_expand fix: emit error when fragment is MethodReceiverExpr and items is empty 2023-05-19 21:21:05 +08:00
rustc_feature fixup version placeholder for cfi_encoding feature 2023-05-15 19:19:13 +03:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #111345 - jyn514:cfg-release-caching, r=cjgillot,est31 2023-05-18 21:45:02 +00:00
rustc_hir_analysis Split out opaque from type_of 2023-05-24 17:23:58 +00:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #111864 - Jules-Bertholet:sized-closures, r=compiler-errors 2023-05-24 06:05:38 +02:00
rustc_incremental Only depend on CFG_VERSION in rustc_interface 2023-05-17 23:54:21 -05:00
rustc_index Leverage the interval property to precompute borrow kill points. 2023-05-19 11:58:31 +00:00
rustc_infer Rollup merge of #111450 - compiler-errors:opaque-ty-key, r=oli-obk 2023-05-20 15:37:23 +02:00
rustc_interface Auto merge of #111641 - michaelwoerister:debugger-visualizer-fixes, r=cjgillot 2023-05-19 11:30:44 +00:00
rustc_lexer
rustc_lint Rename forget_ref lint to forgetting_references 2023-05-21 14:28:09 +02:00
rustc_lint_defs
rustc_llvm Auto merge of #111364 - cuviper:unhack-thinlto, r=nikic 2023-05-18 01:35:41 +00:00
rustc_log
rustc_macros Merge query property modules into one 2023-05-18 09:45:12 +02:00
rustc_metadata Rollup merge of #111870 - WaffleLapkin:just_🌟traits🌟_query, r=compiler-errors 2023-05-24 06:05:38 +02:00
rustc_middle Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiasko 2023-05-24 16:18:21 +00:00
rustc_mir_build Rollup merge of #111841 - matthewjasper:validate-match-guards, r=compiler-errors 2023-05-24 21:36:57 +02:00
rustc_mir_dataflow Rollup merge of #110930 - b-naber:normalize-elaborate-drops, r=cjgillot 2023-05-17 19:11:53 +05:30
rustc_mir_transform Rollup merge of #111121 - Zalathar:ra-false-positive, r=jackh726 2023-05-24 21:36:56 +02:00
rustc_monomorphize Improve CGU partitioning debug output. 2023-05-19 08:48:28 +10:00
rustc_parse Rollup merge of #111708 - jyn514:delay-span-bug-msg, r=compiler-errors 2023-05-20 12:21:00 +05:30
rustc_parse_format
rustc_passes Don't sort output of debugger_visualizer query because it already is in deterministic order. 2023-05-17 16:02:22 +02:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Add comment 2023-05-21 11:25:07 +02:00
rustc_query_system Delay a bug when overwriting fed value. 2023-05-17 20:42:03 +00:00
rustc_resolve Auto merge of #111195 - GuillaumeGomez:fix-ice-intra-doc-link, r=petrochenkov 2023-05-24 07:49:53 +00:00
rustc_serialize
rustc_session Rollup merge of #111606 - jyn514:nightly-diagnostics, r=lcnr 2023-05-20 12:20:59 +05:30
rustc_smir
rustc_span Auto merge of #111641 - michaelwoerister:debugger-visualizer-fixes, r=cjgillot 2023-05-19 11:30:44 +00:00
rustc_symbol_mangling Rollup merge of #111851 - rcvalle:rust-cfi-fix-111515, r=bjorn3 2023-05-23 19:53:43 +02:00
rustc_target
rustc_trait_selection Rollup merge of #111880 - compiler-errors:pointer-like-param-env, r=jackh726 2023-05-24 06:05:39 +02:00
rustc_traits
rustc_transmute
rustc_ty_utils ensure !Unpin types do not get noalias 2023-05-20 19:34:31 -04:00
rustc_type_ir