]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/const-generics/const-generic-defaults.rs
Rollup merge of #91975 - cjgillot:noinline-generator, r=jackh726
[rust.git] / src / test / rustdoc / const-generics / const-generic-defaults.rs
1 #![crate_name = "foo"]
2
3 // @has foo/struct.Foo.html '//pre[@class="rust struct"]' \
4 //      'pub struct Foo<const M: usize = 10_usize, const N: usize = M, T = i32>(_);'
5 pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);