We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a388dc commit b46fe85Copy full SHA for b46fe85
src/test/ui/issues/issue-75158-64.rs
@@ -0,0 +1,16 @@
1
+//~ ERROR
2
+
3
+// build-fail
4
+// ignore-32bit
5
6
+struct S<T> {
7
+ x: [T; !0],
8
+}
9
10
+pub fn f() -> usize {
11
+ std::mem::size_of::<S<u8>>()
12
13
14
+fn main() {
15
+ let x = f();
16
src/test/ui/issues/issue-75158-64.stderr
@@ -0,0 +1,4 @@
+error: values of the type `[u8; 18446744073709551615]` are too big for the current architecture
+error: aborting due to previous error
0 commit comments