Was watching this video by @EskilSteenberg, and reached this spot and wondered, hmmm, I wonder if Rust catches this usecase and throws a compile error or not, maybe it just does what C does, and leaves the user guessing... Lo and behold, LOL! https://t.co/SbaLt7VjoP https://t.co/W3b0iIRZWg

1 min read Original article ↗

Was watching this video by

@EskilSteenberg

, and reached this spot and wondered, hmmm, I wonder if Rust catches this usecase and throws a compile error or not, maybe it just does what C does, and leaves the user guessing... Lo and behold, LOL! godbolt.org/z/cTcP6nP8d