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