rust/tests/crashes/130413.rs
2024-09-18 00:10:25 +02:00

18 lines
195 B
Rust

//@ known-bug: #130413
#![feature(transmutability)]
trait Aaa {
type Y;
}
trait Bbb {
type B: std::mem::TransmuteFrom<()>;
}
impl<T> Bbb for T
where
T: Aaa,
{
type B = T::Y;
}