Get the latest tech news
The way we're thinking about breaking changes
A major problem plaguing modern compilers is that they have no concept of time. When run on a codebase, a compiler treats it as if it had been in the exact...
Any errors that occur as a result are treated as fundamental to your program and not as temporary annoyances caused by the update. This migration is again a (typed) macro that the compiler can automatically apply to any matching call site whenever it upgrades a dependency from a previous version to 1.2.3. If the Rust compiler were smarter, it could automatically fix issues like this by inserting type annotations in any code that was previously unambiguous!
Or read this on Hacker News