Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rfcs
/
rfc-1937-termination-trait
/
issue-103052-2.rs
blob: 37bd0ce06f0b1ce5af9993d3d917febcd94ddc31 [
file
] [
log
] [
blame
] [
edit
]
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
()
{}