diff options
Diffstat (limited to '')
-rw-r--r-- | tests/rustdoc/const-generics/type-alias.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc/const-generics/type-alias.rs b/tests/rustdoc/const-generics/type-alias.rs new file mode 100644 index 000000000..72473a112 --- /dev/null +++ b/tests/rustdoc/const-generics/type-alias.rs @@ -0,0 +1,4 @@ +#![crate_name = "foo"] + +// @has foo/type.CellIndex.html '//div[@class="item-decl"]/pre[@class="rust"]' 'type CellIndex<const D: usize> = [i64; D];' +pub type CellIndex<const D: usize> = [i64; D]; |