mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
14 lines
162 B
Rust
14 lines
162 B
Rust
//@ known-bug: #135617
|
|
trait Project {
|
|
const ASSOC: usize;
|
|
}
|
|
|
|
fn foo()
|
|
where
|
|
for<'a> (): Project,
|
|
{
|
|
[(); <() as Project>::ASSOC];
|
|
}
|
|
|
|
pub fn main() {}
|