summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-12796.rs
blob: 942d6b9a5686e6805951d24144bdeb85f102708d (plain)
1
2
3
4
5
6
7
8
9
trait Trait {
    fn outer(&self) {
        fn inner(_: &Self) {
            //~^ ERROR can't use generic parameters from outer function
        }
    }
}

fn main() { }