mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +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() { }
|