In the world of alien patterns with a company of a great compiler who warns me about the dangers of this world in every step, here are some of the common pitfalls and puzzlement I’ve had so far. Note that this document is not meant to be a guide for anyone else but myself, excuse my broken language if you are reading this anyway.
<aside> ⚠️
Some examples here are incomplete due to broken copy paste from my main Notion, remind me to fix the missing bits.
</aside>
Ord is not implemented for {float})StdErrorCopy traitmut how come compiler sees it as immutable?self.*** which is behind a mutable referencedyn MyInterestingTrait + ‘static) cannot be known at compilation timeWhen things get cryptic.
<‘a>