rust/tests/ui/regions/regions-name-static.rs
2023-01-11 09:32:08 +00:00

7 lines
119 B
Rust

struct Foo<'static> {
//~^ ERROR invalid lifetime parameter name: `'static`
x: &'static isize,
}
fn main() {}