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