Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit bca82f9

Browse files
authored
Merge pull request #386 from JohnTitor/move-67558
Move issue-67558 to fixed
2 parents ab32048 + c3db636 commit bca82f9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed
+19-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
#!/bin/bash
2-
3-
rustc --emit=mir - << END
4-
5-
// run-pass
6-
7-
struct S;
8-
9-
impl S {
10-
const N: usize = 3;
11-
}
12-
13-
static STUFF: [u8; S::N] = [0; S::N];
14-
15-
fn main() {
16-
assert_eq!(STUFF, [0; 3]);
17-
}
18-
19-
END
1+
#!/bin/bash
2+
3+
rustc --emit=mir - << END
4+
5+
// run-pass
6+
7+
struct S;
8+
9+
impl S {
10+
const N: usize = 3;
11+
}
12+
13+
static STUFF: [u8; S::N] = [0; S::N];
14+
15+
fn main() {
16+
assert_eq!(STUFF, [0; 3]);
17+
}
18+
19+
END

0 commit comments

Comments
 (0)