66
What are some mind blowing Rust tricks?
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
What madness caused this
It's a test for the compiler which ensures that these legal yet extremely weird expressions continue to compile as the compiler is updated. So there is a purpose to the madness but it does still look pretty funny.
That’s make sense. We used to write some ridiculous tests too, but users still managed to find a way
Is my favorite.