summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/bug-7295.rs
blob: 156ff2ee82f47668cf325f7e09b3f03e2ffaa6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
// pretty-expanded FIXME #23616

pub trait Foo<T> {
    fn func1<U>(&self, t: U, w: T);

    fn func2<U>(&self, t: U, w: T) {
        self.func1(t, w);
    }
}

pub fn main() {

}