Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/upstream/master
/
.
/
tests
/
rustdoc
/
const-generics
/
const-generic-defaults.rs
blob: 090f17cc98870c4802f7a2654186024c213d760d [
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
);