mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
8 lines
323 B
Rust
8 lines
323 B
Rust
fn foo<'a>(a: &'a isize) { }
|
|
fn bar(a: &'static isize) { }
|
|
fn baz<'let>(a: &'let isize) { } //~ ERROR lifetimes cannot use keyword names
|
|
//~^ ERROR lifetimes cannot use keyword names
|
|
fn zab<'self>(a: &'self isize) { } //~ ERROR lifetimes cannot use keyword names
|
|
//~^ ERROR lifetimes cannot use keyword names
|
|
fn main() { }
|