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