Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
rustdoc
/
constant
/
document-item-with-associated-const-in-where-clause.rs
blob: c9408ef3360b420de00d3aeb814db1de0433543c [
file
] [
log
] [
blame
]
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
pub
trait
Enumerable
{
const
N
:
usize
;
}
#[
derive
(
Clone
)]
pub
struct
SymmetricGroup
<
S
>
where
S
:
Enumerable
,
[();
S
::
N
]:
Sized
,
{
_phantom
:
std
::
marker
::
PhantomData
<
S
>,
}
fn
main
()
{}