2024-01-07 22:53:50 +00:00
|
|
|
//@ known-bug: #110395
|
|
|
|
// FIXME: effects
|
|
|
|
|
2023-10-15 08:51:54 +00:00
|
|
|
#![feature(const_trait_impl, effects)]
|
|
|
|
|
2024-01-07 22:53:50 +00:00
|
|
|
// This fails because `~const Uwu` doesn't imply (non-const) `Uwu`.
|
|
|
|
|
|
|
|
// FIXME: #[const_trait]
|
|
|
|
pub trait Owo<X = <Self as /* FIXME: ~const */ Uwu>::T> {}
|
2023-10-15 08:51:54 +00:00
|
|
|
|
|
|
|
#[const_trait]
|
|
|
|
pub trait Uwu: Owo {
|
|
|
|
type T;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|