summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0496.rs
blob: b57c9c79eaadccd85cf0a4e666a7cc05bd2b9701 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct Foo<'a> {
    a: &'a i32,
}

impl<'a> Foo<'a> {
    fn f<'a>(x: &'a i32) { //~ ERROR E0496
    }
}

fn main() {
}