1 2 3 4
extern crate crateA; pub fn try_foo(x: crateA::Foo) {} pub fn try_bar(x: Box<crateA::Bar>) {}