rust/compiler
Matthias Krüger 8daa317a4b
Rollup merge of #117416 - compiler-errors:tait-in-bad-body, r=oli-obk
Also consider TAIT to be uncomputable if the MIR body is tainted

Not totally sure if this is the best solution. We could, alternatively, look at the hir typeck results and try to take a type from there instead of just falling back to type error, inferring `u8` instead of `{type error}`. Not certain it really matters, though.

Happy to iterate on this.

Fixes #117413

r? ``@oli-obk`` cc ``@Nadrieril``
2023-10-31 12:55:09 +01:00
..
rustc Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_abi Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_arena Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_ast Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_ast_lowering Some more coroutine renamings 2023-10-30 23:46:27 +00:00
rustc_ast_passes Rollup merge of #117370 - nicholasbishop:bishop-better-c-variadic-errors, r=oli-obk 2023-10-30 17:33:17 +01:00
rustc_ast_pretty Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_attr Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_baked_icu_data Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_borrowck Rollup merge of #117357 - tmiasko:terminate, r=wesleywiser 2023-10-30 17:33:17 +01:00
rustc_builtin_macros Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_codegen_cranelift Rollup merge of #117317 - RalfJung:track-caller, r=oli-obk 2023-10-30 17:33:16 +01:00
rustc_codegen_gcc Merge commit '09ce29d0591a21e1abae22eac4d41ffd32993af8' into subtree-update_cg_gcc_2023-10-25 2023-10-27 16:07:01 -04:00
rustc_codegen_llvm Merge simd size and type extraction into checking whether a type is simd, as these always go together. 2023-10-31 11:23:39 +00:00
rustc_codegen_ssa Rollup merge of #117317 - RalfJung:track-caller, r=oli-obk 2023-10-30 17:33:16 +01:00
rustc_const_eval Rollup merge of #117317 - RalfJung:track-caller, r=oli-obk 2023-10-30 17:33:16 +01:00
rustc_data_structures Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_driver Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_driver_impl Rollup merge of #117376 - nnethercote:rustc_interface-more, r=oli-obk 2023-10-30 17:33:18 +01:00
rustc_error_codes Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_error_messages Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_errors Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_expand Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_feature Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_fluent_macro Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_fs_util Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_graphviz Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_hir Some more coroutine renamings 2023-10-30 23:46:27 +00:00
rustc_hir_analysis Rollup merge of #117416 - compiler-errors:tait-in-bad-body, r=oli-obk 2023-10-31 12:55:09 +01:00
rustc_hir_pretty Rollup merge of #117068 - nnethercote:clean-up-Cargo-toml, r=wesleywiser 2023-10-30 17:33:15 +01:00
rustc_hir_typeck Some more coroutine renamings 2023-10-30 23:46:27 +00:00
rustc_incremental Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_index Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_infer Rollup merge of #117132 - estebank:issue-80194, r=petrochenkov 2023-10-30 17:33:15 +01:00
rustc_interface Rollup merge of #117376 - nnethercote:rustc_interface-more, r=oli-obk 2023-10-30 17:33:18 +01:00
rustc_lexer Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_lint Rollup merge of #117395 - gurry:117380-wrong-parent-sugg, r=Nilstrieb 2023-10-30 17:33:19 +01:00
rustc_lint_defs Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_llvm Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_log Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_macros Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_metadata Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_middle Some more coroutine renamings 2023-10-30 23:46:27 +00:00
rustc_mir_build Some more coroutine renamings 2023-10-30 23:46:27 +00:00
rustc_mir_dataflow Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_mir_transform Auto merge of #117419 - compiler-errors:gen, r=oli-obk 2023-10-31 06:56:46 +00:00
rustc_monomorphize Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_parse Rollup merge of #116712 - estebank:issue-116252, r=petrochenkov 2023-10-31 12:55:09 +01:00
rustc_parse_format Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_passes Rollup merge of #117390 - chenyukang:yukang-fix-117284-unused-macro, r=estebank 2023-10-30 17:33:18 +01:00
rustc_plugin_impl Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_privacy Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_query_impl Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_query_system Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_resolve Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_serialize Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_session Rollup merge of #117376 - nnethercote:rustc_interface-more, r=oli-obk 2023-10-30 17:33:18 +01:00
rustc_smir Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_span Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_symbol_mangling Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_target Rollup merge of #117356 - he32:netbsd-mipsel, r=oli-obk 2023-10-30 17:33:16 +01:00
rustc_trait_selection Auto merge of #117419 - compiler-errors:gen, r=oli-obk 2023-10-31 06:56:46 +00:00
rustc_traits Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_transmute Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_ty_utils Some more coroutine renamings 2023-10-30 23:46:27 +00:00
rustc_type_ir Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
stable_mir Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errors 2023-10-29 00:03:52 +00:00