summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-3021-c.rs
blob: 94ed1fdf7819140caa8bbf13210f642390d83838 (plain)
1
2
3
4
5
6
7
8
9
fn siphash<T>() {

    trait U {
        fn g(&self, x: T) -> T;  //~ ERROR can't use generic parameters from outer function
        //~^ ERROR can't use generic parameters from outer function
    }
}

fn main() {}