rust/tests/crashes/123140.rs

7 lines
108 B
Rust
Raw Normal View History

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