mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
394 B
Rust
13 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() {
|
|
}
|