Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![feature(existential_type)]
- existential type SomeDebug: std::fmt::Debug;
- fn foo() -> SomeDebug {
- || -> SomeDebug { unimplemented!() }()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement