mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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
|
|
}
|