about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-09-04 16:09:30 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2018-10-25 16:47:35 +0200
commitf4a3e50d782c609f0868d06fc2b03fbea6774a2f (patch)
tree1ac9f14aebb6c4879bf91eaf943540495bf59975
parent528c72371c99f1da4a13fb15321ed7b9c1b34c1e (diff)
downloadrust-f4a3e50d782c609f0868d06fc2b03fbea6774a2f.tar.gz
rust-f4a3e50d782c609f0868d06fc2b03fbea6774a2f.zip
Update rustdoc test
-rw-r--r--src/test/rustdoc/const-evalutation-ice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/const-evalutation-ice.rs b/src/test/rustdoc/const-evalutation-ice.rs
index 000ed709a8a..5675f61bd4b 100644
--- a/src/test/rustdoc/const-evalutation-ice.rs
+++ b/src/test/rustdoc/const-evalutation-ice.rs
@@ -17,4 +17,4 @@ pub struct S {
     s: Cell<usize>
 }
 
-pub type _S = [usize; 0 - (mem::size_of::<S>() != 4) as usize];
+pub const N: usize = 0 - (mem::size_of::<S>() != 4) as usize;