Code compiles on playground but fails when passed via stdin to rustc
Rust Internals [Unofficial]
June 11, 2026
--edition 2024
At a minimum. Probably there are other differences in the exact command, but this at least compiles it.
Discussion in the ATmosphere