mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
16 lines
337 B
Rust
16 lines
337 B
Rust
//@ 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> {}
|