Cargo and rust-analyzer will blocking when compile this code ...
I'm not sure if it's a bug on stable Rust.
You can try to compile it on your computer.
My idea: Normally, suspicious code should be refused compilation, but now it is continuously being compiled without exiting, which is very strange.
rustc --version
: rustc 1.78.0 (9b00956e5 2024-04-29)rustup --version
: rustup 1.27.1 (54dd3d00f 2024-04-24)cargo --version
: cargo 1.78.0 (54d8815d0 2024-03-26)
rustup default
: stable-aarch64-apple-darwin (default)