]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/const-generics/const-generic-defaults.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / 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, const N: usize = M, T = i32>(_);'
5 pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(T);