about summary refs log tree commit diff
path: root/tests/ui/traits/const-traits/project.rs
blob: 139299753e5c79e20b7988c520137b1337af9cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass
//@ compile-flags: -Znext-solver
#![feature(const_trait_impl)]

#[const_trait]
pub trait Owo<X = <Self as Uwu>::T> {}

#[const_trait]
pub trait Uwu: Owo {
    type T;
}

fn main() {}