rust/tests/crashes/134615.rs

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

17 lines
190 B
Rust
Raw Permalink Normal View History

2025-01-03 09:52:14 +01:00
//@ known-bug: #134615
#![feature(generic_const_exprs)]
trait Trait {
const CONST: usize;
}
fn f()
where
for<'a> (): Trait,
[(); <() as Trait>::CONST]:,
{
}
pub fn main() {}