summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/auxiliary/traitimpl.rs
blob: fda5314cdbfa595c67ff263f0bd3bec0fa107c3a (plain)
1
2
3
4
5
6
7
// Test inherent trait impls work cross-crait.

pub trait Bar<'a> : 'a {}

impl<'a> Bar<'a> {
    pub fn bar(&self) {}
}