1 2 3 4 5 6 7 8 9 10
extern crate bar; extern crate foo; pub struct Bar; impl ::std::ops::Deref for Bar { type Target = bar::S; fn deref(&self) -> &Self::Target { unimplemented!() } }