mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 09:36:06 +00:00
14 lines
394 B
Rust
14 lines
394 B
Rust
static c_x: &'blk isize = &22; //~ ERROR use of undeclared lifetime name `'blk`
|
|
|
|
enum EnumDecl {
|
|
Foo(&'a isize), //~ ERROR use of undeclared lifetime name `'a`
|
|
Bar(&'a isize), //~ ERROR use of undeclared lifetime name `'a`
|
|
}
|
|
|
|
fn fnDecl(x: &'a isize, //~ ERROR use of undeclared lifetime name `'a`
|
|
y: &'a isize) //~ ERROR use of undeclared lifetime name `'a`
|
|
{}
|
|
|
|
fn main() {
|
|
}
|