about summary refs log tree commit diff
path: root/tests/ui/rfcs/rfc-2632-const-trait-impl/effects/project.rs
blob: e22eed3e0ef57a4ad219ed9d8533e185f4fec989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// known-bug: #110395
// FIXME: effects

#![feature(const_trait_impl, effects)]

// This fails because `~const Uwu` doesn't imply (non-const) `Uwu`.

// FIXME: #[const_trait]
pub trait Owo<X = <Self as /* FIXME: ~const */ Uwu>::T> {}

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

fn main() {}