rust/compiler
Bryan Garza 36febe1f4d Improve safe transmute error reporting
This patch updates the error reporting when Safe Transmute is not
possible between 2 types by including the reason.

Also, fix some small bugs that occur when computing the `Answer` for
transmutability.
2023-04-13 21:57:08 +00:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes Rollup merge of #109923 - ElectrifyPro:visibility, r=wesleywiser 2023-04-11 12:18:50 +09:00
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rename NllVisitor as RegionRenumberer. 2023-04-12 07:44:37 +10:00
rustc_builtin_macros Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors 2023-04-11 14:40:54 +00:00
rustc_codegen_cranelift
rustc_codegen_gcc Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
rustc_codegen_llvm
rustc_codegen_ssa Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
rustc_const_eval Fix transmute intrinsic mir validation ICE 2023-04-09 18:16:05 -07:00
rustc_data_structures Use SSO_ARRAY_SIZE instead of 8 in SsoHashMap impl 2023-04-11 11:02:01 +00:00
rustc_driver
rustc_driver_impl
rustc_error_codes
rustc_error_messages
rustc_errors Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors 2023-04-11 14:40:54 +00:00
rustc_expand
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Allow the elaborator to only filter to real supertraits 2023-04-11 17:45:42 +00:00
rustc_hir_pretty
rustc_hir_typeck Allow the elaborator to only filter to real supertraits 2023-04-11 17:45:42 +00:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #110210 - nnethercote:DescriptionCtx-cleanups, r=davidtwco 2023-04-12 17:04:33 +02:00
rustc_interface
rustc_lexer
rustc_lint Allow the elaborator to only filter to real supertraits 2023-04-11 17:45:42 +00:00
rustc_lint_defs
rustc_llvm Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
rustc_log
rustc_macros Auto merge of #110092 - clubby789:builtin-macros-translatable, r=compiler-errors 2023-04-11 14:40:54 +00:00
rustc_metadata Split implied and super predicate queries 2023-04-11 17:45:42 +00:00
rustc_middle Auto merge of #107614 - compiler-errors:allow-elaborator-to-filter-only-super-traits, r=oli-obk 2023-04-12 08:39:19 +00:00
rustc_mir_build Add Offset binary op to custom mir 2023-04-11 16:23:35 +02:00
rustc_mir_dataflow
rustc_mir_transform
rustc_monomorphize
rustc_parse
rustc_parse_format
rustc_passes Auto merge of #109935 - michaelwoerister:fix-feed-in-eval-always, r=cjgillot 2023-04-12 11:16:35 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Auto merge of #109935 - michaelwoerister:fix-feed-in-eval-always, r=cjgillot 2023-04-12 11:16:35 +00:00
rustc_resolve Auto merge of #109638 - NotStirred:suggest/non-derive, r=davidtwco 2023-04-10 21:50:46 +00:00
rustc_serialize
rustc_session Rollup merge of #110124 - Nilstrieb:📎-told-me-so, r=compiler-errors 2023-04-10 14:13:16 +05:30
rustc_smir
rustc_span
rustc_symbol_mangling
rustc_target Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00
rustc_trait_selection Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
rustc_traits
rustc_transmute Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
rustc_ty_utils
rustc_type_ir