Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![crate_type="dylib"]
- pub fn outer() {
- mod inner {
- pub fn innermost() {}
- }
- inner::innermost();
- }
- pub trait Trait {
- fn trait_fn() {}
- }
- pub struct StructFirst;
- pub struct StructSecond;
- impl Trait for StructFirst {
- fn trait_fn() {
- impl Trait for StructSecond {
- fn trait_fn() {}
- }
- }
- }
Add Comment
Please, Sign In to add comment