rust/tests/crashes/116519-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
337 B
Rust
Raw Normal View History

//@ 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> {}