summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/regions-name-static.rs
blob: da316c6ef5e435c82b61b25b19bfa1ebb9505e08 (plain)
1
2
3
4
5
6
struct Foo<'static> {
    //~^ ERROR invalid lifetime parameter name: `'static`
    x: &'static isize,
}

fn main() {}