mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
17 lines
190 B
Rust
17 lines
190 B
Rust
//@ known-bug: #134615
|
|
|
|
#![feature(generic_const_exprs)]
|
|
|
|
trait Trait {
|
|
const CONST: usize;
|
|
}
|
|
|
|
fn f()
|
|
where
|
|
for<'a> (): Trait,
|
|
[(); <() as Trait>::CONST]:,
|
|
{
|
|
}
|
|
|
|
pub fn main() {}
|