mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +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
|
|
}
|