We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528c723 commit f4a3e50Copy full SHA for f4a3e50
src/test/rustdoc/const-evalutation-ice.rs
@@ -17,4 +17,4 @@ pub struct S {
17
s: Cell<usize>
18
}
19
20
-pub type _S = [usize; 0 - (mem::size_of::<S>() != 4) as usize];
+pub const N: usize = 0 - (mem::size_of::<S>() != 4) as usize;
0 commit comments