blob: 11d8733c40d1201d2df93e611d0919e11293829b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use std::fmt;
pub trait Bar {}
impl<'a> Bar + 'a {
pub fn bar(&self) -> usize { 42 }
}
impl<'a> fmt::Debug for Bar + 'a {
fn fmt(&self, _: &mut fmt::Formatter) -> fmt::Result {
Ok(())
}
}
|