1 2 3 4 5 6 7
#![crate_name="bar"] pub trait Bar {} pub struct Foo; impl<'a> Bar for &'a char {} impl Bar for Foo {}