rust/compiler/rustc_hir_analysis
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
..
src Rollup merge of #144390 - oli-obk:arbitrary-enum-discrs, r=SparrowLii 2025-07-25 11:16:39 +02:00
Cargo.toml introduce new lint infra 2025-06-12 09:56:47 +02:00
messages.ftl Rollup merge of #142693 - fmease:unbound-bettering, r=compiler-errors 2025-07-18 19:14:43 +02:00
README.md rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.