Skip to content

Commit f4a3e50

Browse files
committed
Update rustdoc test
1 parent 528c723 commit f4a3e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/const-evalutation-ice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ pub struct S {
1717
s: Cell<usize>
1818
}
1919

20-
pub type _S = [usize; 0 - (mem::size_of::<S>() != 4) as usize];
20+
pub const N: usize = 0 - (mem::size_of::<S>() != 4) as usize;

0 commit comments

Comments
 (0)