rust/compiler/rustc_codegen_ssa/src
Matthias Krüger df4d56307b
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
2023-12-20 09:46:11 +01:00
..
back Auto merge of #119069 - matthiaskrgr:rollup-xxk4m30, r=matthiaskrgr 2023-12-18 08:03:22 +00:00
debuginfo Implement async gen blocks 2023-12-08 17:23:25 +00:00
mir reject projecting to fields whose offset we cannot compute 2023-12-12 08:15:17 +01:00
traits Rename many DiagCtxt arguments. 2023-12-18 16:06:22 +11:00
assert_module_sources.rs rustc_codegen_ssa: Don't let IncorrectCguReuseType errors get lost 2023-12-19 20:20:40 +01:00
base.rs Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix 2023-12-01 21:45:18 +00:00
codegen_attrs.rs Rename Session::span_diagnostic as Session::dcx. 2023-12-18 16:06:21 +11:00
common.rs move ConstValue into mir 2023-09-19 11:11:02 +02:00
errors.rs Rename many DiagCtxt arguments. 2023-12-18 16:06:22 +11:00
lib.rs codegen: panic when trying to compute size/align of extern type 2023-12-12 08:15:17 +01:00
meth.rs cg_ssa: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:20 -04:00
mono_item.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
size_of_val.rs fix computing the dynamic alignment of packed structs with dyn trait tails 2023-12-13 20:21:57 +01:00
target_features.rs Move rustc_codegen_ssa target features to rustc_target 2023-12-14 14:40:55 +01:00