Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
rustdoc
/
const-generics
/
const-generic-defaults.rs
blob: f781c6a62f24b4b397e6594e9b8073880052abe4 [
file
] [
log
] [
blame
]
#![
crate_name
=
"foo"
]
// @has foo/struct.Foo.html '//pre[@class="rust item-decl"]' \
// 'pub struct Foo<const M: usize = 10, const N: usize = M, T = i32>(_);'
pub
struct
Foo
<
const
M
:
usize
=
10
,
const
N
:
usize
=
M
,
T
=
i32
>(
T
);