]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/document-item-with-associated-const-in-where-clause.rs
Auto merge of #107778 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / rustdoc / document-item-with-associated-const-in-where-clause.rs
1 #![feature(generic_const_exprs)]
2 #![allow(incomplete_features)]
3
4 pub trait Enumerable {
5     const N: usize;
6 }
7
8 #[derive(Clone)]
9 pub struct SymmetricGroup<S>
10 where
11     S: Enumerable,
12     [(); S::N]: Sized,
13 {
14     _phantom: std::marker::PhantomData<S>,
15 }
16
17 fn main() {}