rust/compiler/rustc_mir_build
Matthias Krüger 7c301ecdf5
Rollup merge of #134371 - scottmcm:fix-134352, r=oli-obk
Check for array lengths that aren't actually `usize`

I wish typeck wouldn't give us `ty::Array`s that have this problem in the first place, but we can check for it.

Fixes #134352
cc ``@matthiaskrgr``
2024-12-16 20:00:26 +01:00
..
src Rollup merge of #134371 - scottmcm:fix-134352, r=oli-obk 2024-12-16 20:00:26 +01:00
Cargo.toml compiler: Switch to rustc_abi in hir_pretty, lint_defs, and mir_build 2024-10-30 22:38:49 -07:00
messages.ftl review comments: reword messages and simplify logic 2024-12-04 20:49:05 +00:00