mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +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
|
|
}
|