1
Fork 0

Render missing fields in tuple struct/enum as /* private fields */

This commit is contained in:
Michael Goulet 2023-04-24 17:42:39 +00:00 committed by Guillaume Gomez
parent 3767e315ac
commit 1abbd4cd4f
7 changed files with 38 additions and 22 deletions

View file

@ -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);