rust/tests/crashes/123140.rs

7 lines
108 B
Rust

//@ known-bug: #123140
trait Project {
const SELF: Self;
}
fn take1(_: Project<SELF = { loop {} }>) {}