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

15 lines
238 B
Rust
Raw Normal View History

2024-06-25 09:50:01 +00:00
//@ check-pass
2024-06-30 17:08:45 +00:00
//@ compile-flags: -Znext-solver
#![feature(const_trait_impl, effects)]
2024-06-25 09:50:01 +00:00
#![allow(incomplete_features)]
2024-06-25 09:50:01 +00:00
#[const_trait]
pub trait Owo<X = <Self as Uwu>::T> {}
#[const_trait]
pub trait Uwu: Owo {
type T;
}
fn main() {}