about summary refs log tree commit diff
path: root/tests/rustdoc/const-generics/const-generic-defaults.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-04-24 17:42:39 +0000
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-09-06 11:16:05 +0200
commit1abbd4cd4fa1c18c706505b71ed49cf0fda0ebee (patch)
tree2adf3665a998c255ff6fc11a8811f606e3f53637 /tests/rustdoc/const-generics/const-generic-defaults.rs
parent3767e315ac55a64c5b430ef367ee7d8f6e0dc145 (diff)
downloadrust-1abbd4cd4fa1c18c706505b71ed49cf0fda0ebee.tar.gz
rust-1abbd4cd4fa1c18c706505b71ed49cf0fda0ebee.zip
Render missing fields in tuple struct/enum as /* private fields */
Diffstat (limited to 'tests/rustdoc/const-generics/const-generic-defaults.rs')
-rw-r--r--tests/rustdoc/const-generics/const-generic-defaults.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/const-generics/const-generic-defaults.rs b/tests/rustdoc/const-generics/const-generic-defaults.rs
index f781c6a62f2..7a0a794112d 100644
--- a/tests/rustdoc/const-generics/const-generic-defaults.rs
+++ b/tests/rustdoc/const-generics/const-generic-defaults.rs
@@ -1,5 +1,5 @@
 #![crate_name = "foo"]
 
 // @has foo/struct.Foo.html '//pre[@class="rust item-decl"]' \
-//      'pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(_);'
+//      'pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>('
 pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);