about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-20 09:46:11 +0100
committerGitHub <noreply@github.com>2023-12-20 09:46:11 +0100
commitdf4d56307b6fb32a1c2a2ce919df90d5920be6d8 (patch)
tree7803a0b81ff8b4a6836d00e22b34fb275ea7c534 /compiler/rustc_interface/src/errors.rs
parentf3f9b3043ec936548075391ba86cd64e46454bee (diff)
parentd46df80c73aefdbad1a872337c3708f51ff3c376 (diff)
downloadrust-df4d56307b6fb32a1c2a2ce919df90d5920be6d8.tar.gz
rust-df4d56307b6fb32a1c2a2ce919df90d5920be6d8.zip
Rollup merge of #118973 - Enselic:fix-IncorrectCguReuseType, r=michaelwoerister
rustc_codegen_ssa: Don't drop `IncorrectCguReuseType` , make `rustc_expected_cgu_reuse` attr work

In [100753], `IncorrectCguReuseType` accidentally stopped being emitted by removing `diag.span_err(...)`. Begin emitting it again rather than just blindly dropping it, and adjust tests accordingly.

We assume that there are no bugs and that the currently actual CGU reuse is correct. If there are bugs, they will be discovered and fixed eventually, and the tests will then be updated.

[100753]: https://github.com/rust-lang/rust/pull/100753/commits/706452eba74026c51e8d0fa30aee2497c69eafc0#diff-048389738ddcbe0f9765291a29db1fed9a5f03693d4781cfb5aaa97ffb3c7f84

Closes #118972
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions