]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/const-generics/const-generic-defaults.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[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);