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