1 2 3 4 5 6 7 8
#![crate_type = "rlib"] #[macro_use] extern crate foo1; pub fn foo2(a: foo1::A) { foo1::foo1(a); }