summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0262.rs
blob: 55264f1387f8007d42fe1d7afcfb07d87ac3123e (plain)
1
2
3
4
fn foo<'static>(x: &'static str) { } //~ ERROR E0262
                                     //~| 'static is a reserved lifetime name

fn main() {}