Files
rust/tests/ui/parser
Jonathan Brouwer a108d58ff7 Rollup merge of #160906 - lsunsi:push-ysqvmnlvvzwr, r=davidtwco
Suggest usize instead of placeholder type for array length constants

Fixes rust-lang/rust#159487

This PR makes the type suggestion for a anonymous constant used as an array length or repeat expression less generic: usize instead of placeholder type.

I divided the work in several commits so I could track my own progress and test my understanding. I could squash them all into one if needed.

Some ideas were pulled from rust-lang/rust#160155 , which is why the PR might look similar. That said I only used it as reference when I got stuck, because I was prioritizing my own learning instead of just quickly pushing the changes (hence, many commits).
2026-09-04 22:29:06 +02:00
..
…
2026-07-13 10:54:53 +02:00
2026-07-13 10:54:53 +02:00
fix
2026-07-03 15:45:29 +08:00
fix
2026-07-03 15:45:29 +08:00
2026-06-28 16:10:41 +02:00
2026-07-13 10:54:53 +02:00
fix
2026-06-02 23:00:47 +08:00
fix
2026-06-02 23:00:47 +08:00
fix
2026-06-02 23:00:47 +08:00
fix
2026-06-02 23:00:47 +08:00
2026-07-13 10:54:53 +02:00
2026-02-22 20:20:33 +01:00
2026-08-10 10:05:45 +02:00
2026-08-10 10:05:45 +02:00
2026-07-09 23:34:43 +02:00
2026-07-09 23:34:43 +02:00
2026-07-13 10:54:53 +02:00
2026-07-13 10:54:53 +02:00