blob: 37bd0ce06f0b1ce5af9993d3d917febcd94ddc31 [file] [log] [blame]
mod child {
trait Main {
fn main() -> impl std::process::Termination;
}
struct Something;
impl Main for () {
fn main() -> Something {
//~^ ERROR the trait bound `Something: Termination` is not satisfied
Something
}
}
}
fn main() {}