rust/tests/ui/regions/regions-name-static.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
119 B
Rust
Raw Normal View History

2022-03-06 08:44:48 -06:00
struct Foo<'static> {
//~^ ERROR invalid lifetime parameter name: `'static`
x: &'static isize,
}
fn main() {}