summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-12796.rs
blob: de3e73437f080f303d70ec408e958d360d3ad846 (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 item
        }
    }
}

fn main() { }