Files
rust/compiler/rustc_mir_transform
Jonathan Brouwer 6344a6f3ba Rollup merge of #160642 - davidtwco:sve-field-projection, r=folkertdev
mir: prohibit projection into scalable vec

Fixes rust-lang/rust#160580. Preventing projections into scalable vectors is an oversight from the initial implementation and something we should fix.

I'm surprised it caused a stdarch CI failure as reported by rust-lang/rust#160580, as nothing in rustc or stdarch seems to have changed that would have caused that to start happening as far as I can tell. This likely won't fix that stdarch CI failure if it keeps happening, because if there is a projection coming from somewhere then that needs to be fixed - nevertheless, preventing them as in this patch is the right thing to do.

I've tested this against the stdarch CI locally.
2026-08-10 19:02:00 +02:00
..