]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/const-generics/const-generic-defaults.rs
Auto merge of #107443 - cjgillot:generator-less-query, r=compiler-errors
[rust.git] / tests / rustdoc / const-generics / const-generic-defaults.rs
1 #![crate_name = "foo"]
2
3 // @has foo/struct.Foo.html '//div[@class="item-decl"]/pre[@class="rust"]' \
4 //      'pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(_);'
5 pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);