about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-14 07:58:39 +0200
committerGitHub <noreply@github.com>2023-04-14 07:58:39 +0200
commitc6223e198d842f8a8066e2ec9f722b905d4ac584 (patch)
treeeebf8e3600c106c75c14c5f7695e6ea17fd4949c /compiler/rustc_codegen_llvm/src/errors.rs
parentec08676716631fc7ccefb58141f891bd86cd175d (diff)
parent36febe1f4da6ea7e066983786171d5f85f7473d9 (diff)
downloadrust-c6223e198d842f8a8066e2ec9f722b905d4ac584.tar.gz
rust-c6223e198d842f8a8066e2ec9f722b905d4ac584.zip
Rollup merge of #109800 - bryangarza:safe-transmute-improved-errors, r=compiler-errors
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions