Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
impl-trait
/
divergence.rs
blob: 211f7972dbca890e17e5af268e44acce89defd36 [
file
] [
log
] [
blame
]
// check-pass
fn
foo
()
->
impl
MyTrait
{
panic
!();
MyStruct
}
struct
MyStruct
;
trait
MyTrait
{}
impl
MyTrait
for
MyStruct
{}
fn
main
()
{}