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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
158 B
Rust
Raw Normal View History

// 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() {}