Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mod a {
- pub struct A;
- }
- mod b {
- use crate::a::*;
- #[derive(Clone)]
- struct A;
- fn f(a: A) {}
- mod c {
- use crate::b::*;
- fn x() {
- f(A)
- }
- }
- }
- fn main() { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement