1
2
3
4
5
6
7
use a::A;

impl Clone for A {
    fn clone(&self) -> A {
        *self
    }
}