]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/const-generics/const-generic-defaults.rs
Auto merge of #106520 - ehuss:update-mdbook, r=Mark-Simulacrum
[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);