Files
rust/tests/ui/const-generics/mgca
Jacob Pratt 9369cfff04 Rollup merge of #152402 - AprilNEA:test/issue-141738-struct-ctor-array-len, r=BoxyUwU
Add regression test for #141738

Closes rust-lang/rust#141738

- Add a regression test for rust-lang/rust#141738
- Using a struct constructor (`DefKind::Ctor(Struct, Const)`) as an array repeat count with `#![feature(min_generic_const_args)]` used to ICE in const alias normalization
- Fixed by rust-lang/rust#150704, which added const constructor support for mGCA. This test covers the **error path** (struct ctor where `usize` is expected), which was not covered by the tests in rust-lang/rust#150704
2026-02-14 23:17:40 -05:00
..
2026-01-06 15:04:25 +00:00
2026-01-04 15:12:39 +00:00
2026-01-04 15:12:39 +00:00
2026-01-04 15:12:39 +00:00
2026-01-04 15:12:39 +00:00
2026-01-04 15:12:39 +00:00
2026-01-04 15:12:39 +00:00
2026-01-04 15:12:39 +00:00