blob: e1abbbcd4c145eafc9041d274d23440944a743f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ known-bug: #116519
#![feature(generic_const_exprs)]
trait Ret {
type R;
}
struct Cond<const PRED: bool, U, V>(std::marker::PhantomData<U>, );
struct RobinHashTable<
const MAX_LENGTH: usize,
CellIdx = <Cond<{ }, u16, u32> as Ret>::R,
> {}
impl<CellIdx> HashMapBase<CellIdx> for RobinHashTable<MAX_LENGTH, CellIdx> {}
|