Files
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
150 B
Rust
Raw Normal View History

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