49
It's not me, it's the compiler!
(parsa.wtf)
Very nice read, the code examples were very clear :)
Pretty elite flex, ngl
Wow that's pretty crazy. I guess this bug was only in nightly?
Also I want to know more about this guy's crazy build system.
Nope, the bug was present in multiple stable versions. From the Github issue comments:
I can reproduce the bug on 1.94, 1.95, 1.96 and nightly. (1.93 seems to be the latest version without the bug present)
that's a pretty big fuckup, no? also does MIR not check for variable not being initialized?
Wow. I wonder why nobody saw this before then? Op's code doesn't look unusual.
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits