about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-07-13 10:35:58 +0200
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-07-13 10:35:58 +0200
commit9d33ce58b104f1f0e29a69b30c6b4353f1e28c52 (patch)
treeab3c5a70f0593207f7735e8dadb1e3f80781c2dd /src/test/rustdoc
parentb4e11c2af8fce4f72fc896bfb6215c446d593cda (diff)
downloadrust-9d33ce58b104f1f0e29a69b30c6b4353f1e28c52.tar.gz
rust-9d33ce58b104f1f0e29a69b30c6b4353f1e28c52.zip
evaluate the array length of fixed size array types in rustdoc
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-33302.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/issue-33302.rs b/src/test/rustdoc/issue-33302.rs
index b9188e8a4e9..c6da6b0575b 100644
--- a/src/test/rustdoc/issue-33302.rs
+++ b/src/test/rustdoc/issue-33302.rs
@@ -34,8 +34,8 @@ macro_rules! make {
         }
 
         // @has issue_33302/struct.S.html \
-        //        '//h3[@class="impl"]' 'impl T<[i32; 4 * 4]> for S'
-        // @has - '//*[@id="associatedconstant.C"]' 'const C: [i32; 4 * 4] = [0; 4 * 4]'
+        //        '//h3[@class="impl"]' 'impl T<[i32; 16]> for S'
+        // @has - '//*[@id="associatedconstant.C"]' 'const C: [i32; 16] = [0; 4 * 4]'
         // @has - '//*[@id="associatedconstant.D"]' 'const D: i32 = 4 * 4'
         impl T<[i32; ($n * $n)]> for S {
             const C: [i32; ($n * $n)] = [0; ($n * $n)];