Skip to content

Commit 6d53c43

Browse files
authored
Unrolled build for rust-lang#139893
Rollup merge of rust-lang#139893 - reddevilmidzy:add-test, r=SparrowLii Add test for issue 125668 closes: rust-lang#125668 The issue stemmed from improper handling of const {} blocks used in array length expressions. As of rustc 1.80.0-nightly (804421d 2024-06-07), this ICE no longer occurs and the code compiles successfully 😀
2 parents c6aad02 + 8120950 commit 6d53c43

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//@ check-pass
2+
3+
type A = [u32; const { 2 }];
4+
5+
fn main() {}

0 commit comments

Comments
 (0)