A delightful suggestion from the Rust compiler: you have no field of that name, looks like you need to access it via another field!
Adding a snazzy compiler error is a rarely used feature (in each individual case), but it's wonderful when you hit that case.
miniblog.
Related Posts
When talking about a match or a switch statement, I've typically seen people talk about individual 'cases' or 'arms'.
TIL Zig uses 'prongs' instead!
I've heard of 'blub languages', where you don't realise that other languages have better abstractions until you've experienced them.
I think the same thing happens with individual features. I've seen several C++ folks miss variadic generics in Rust, but I've not written enough C++ to feel it.
One interesting side effect of software productivity increasing: libraries can become more idiosyncratic.
It's easier than ever to release important libraries as an individual. Single-maintainer projects inevitably have more personality -- for both good and bad!
