mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
6 lines
160 B
Rust
6 lines
160 B
Rust
fn main() {
|
|
[(); &(&'static: loop { |x| {}; }) as *const _ as usize]
|
|
//~^ ERROR: invalid label name `'static`
|
|
//~| ERROR: type annotations needed
|
|
}
|