summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/regions-name-duplicated.rs
blob: f6616591a3df223db8782e29ff56dffa662e6991 (plain)
1
2
3
4
5
6
struct Foo<'a, 'a> {
    //~^ ERROR the name `'a` is already used for a generic parameter
    x: &'a isize,
}

fn main() {}