about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-05-27 01:29:19 +0800
committerGitHub <noreply@github.com>2025-05-27 01:29:19 +0800
commit92b07de1ca460f81da7d8dabbf089256b1f4dbce (patch)
tree2f7201c27fd546950e15e980012e59860da3cc02 /compiler/rustc_codegen_gcc
parent9f93c48ddcb51416599b8a93116f9771b988d06e (diff)
parenta59c86ab449ddb83f824b12f87c1e2c6a38399be (diff)
downloadrust-92b07de1ca460f81da7d8dabbf089256b1f4dbce.tar.gz
rust-92b07de1ca460f81da7d8dabbf089256b1f4dbce.zip
Rollup merge of #141439 - compiler-errors:dyn-compatible-coerce, r=oli-obk
Deduplicate dyn compatibility violations due to coercion

Don't unnecessarily emit dyn compatibility violations due to coercion to a non-dyn-compatible target type.

For us to even have that target type, we would have had to write `dyn Trait` somewhere in source, and that would have led to us *already* emitting a dyn compatibility violation when checking that user written type is WF.

r? oli-obk
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions