rust/compiler/rustc_abi/src
Matthias Krüger acd4a1ccd2
Rollup merge of #144390 - oli-obk:arbitrary-enum-discrs, r=SparrowLii
Remove dead code and extend test coverage and diagnostics around it

I was staring a bit at the `dont_niche_optimize_enum` variable and figured out that part of it is dead code (at least today it is). I changed the diagnostic and test around the code that makes that part dead code, so everything that makes removing that code sound is visible in this PR
2025-07-25 11:16:39 +02:00
..
callconv compiler: split vector_align into cabi and llvmlike 2025-02-20 19:55:29 -08:00
extern_abi compiler: remove rustc_abi::lookup and AbiUnsupported 2025-02-11 20:18:01 -08:00
layout Remove PointerLike trait 2025-07-03 20:03:49 +00:00
callconv.rs rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
canon_abi.rs compiler: Trim the misleading C from ExternAbi::CCmse* 2025-06-25 00:52:09 -07:00
extern_abi.rs compiler: Trim the misleading C from ExternAbi::CCmse* 2025-06-25 00:52:09 -07:00
layout.rs Remove dead code and extend test coverage and diagnostics around it 2025-07-24 10:21:20 +00:00
lib.rs Don't emit two assumes in transmutes when one is a subset of the other 2025-07-23 09:16:32 -07:00
tests.rs Don't emit two assumes in transmutes when one is a subset of the other 2025-07-23 09:16:32 -07:00