summary refs log tree commit diff
path: root/src/test/ui/issues/issue-12796.rs
blob: acd4584c73700a8e1b72a34064b00800108c9660 (plain)
1
2
3
4
5
6
7
8
9
trait Trait {
    fn outer(&self) {
        fn inner(_: &Self) {
            //~^ ERROR can't use type parameters from outer function
        }
    }
}

fn main() { }