2 ms·
There have been a few times when I wrote complicated Rust code involving mutable borrows moving around lots of scopes, expecting the compiler will yell at me an
by Arnavion 5y ago
There have been a few times when I wrote complicated Rust code involving mutable borrows moving around lots of scopes, expecting the compiler will yell at me and I'll have to rewrite it a lot, but it compiled fine the first try. It makes me suspicious every time that I've done something wrong.
Of course there was the one time when it was an actual compiler bug, heh. https://github.com/rust-lang/rust/issues/51117 https://github.com/rust-lang/rust/issues/51117