Since the Rust language is defined by the Rust compiler and has no other specification, if it's UB in the compiler then it's UB in the language.
And this, kids, is how you get called Billy Madison.
May god have mercy on your soul, cowlevel1.
Rust has no formal spec? Really?
And this, kids, is how you get called Billy Madison.
May god have mercy on your soul, cowlevel1.