rust/tests/ui/error-codes/E0262.rs

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

5 lines
145 B
Rust
Raw Normal View History

2016-08-05 19:17:39 +08:00
fn foo<'static>(x: &'static str) { } //~ ERROR E0262
2016-08-14 18:48:58 +08:00
//~| 'static is a reserved lifetime name
2016-08-05 19:17:39 +08:00
fn main() {}