rust/tests/crashes/124857.rs
2024-05-18 23:56:57 +02:00

12 lines
206 B
Rust

//@ known-bug: rust-lang/rust#124857
//@ compile-flags: -Znext-solver=coherence
#![feature(effects)]
#[const_trait]
trait Foo {}
impl const Foo for i32 {}
impl<T> const Foo for T where T: ~const Foo {}