rust/tests/ui/rfcs/rfc-2632-const-trait-impl/effects/project.rs

12 lines
158 B
Rust

// check-pass
#![feature(const_trait_impl, effects)]
pub trait Owo<X = <Self as Uwu>::T> {}
#[const_trait]
pub trait Uwu: Owo {
type T;
}
fn main() {}