3 ms·
Exactly because they don't allow it, they don't cover all scenarios regarding language evolution
by pjmlp 8mo ago
Exactly because they don't allow it, they don't cover all scenarios regarding language evolution
- aw1621107 8mo agoOK, sure, but again what breaking changes editions do/don't currently allow is independent from what SkiFire13/I was responding to, which was the "requires full access to source code" bit.
- pjmlp 8mo agoHow do you expect a compiler to be able to mix and match changes across editions between crates, if those happen to be changes in semantic behaviour?
- aw1621107 8mo agoDepends on the change. Obviously the compiler doesn't need to care about cross-edition compatibility between crates if the changes in question don't impact the public API. Otherwise, I'd expect the compiler to canonicalize the changes, and from what I understand that is precisely how edition changes are chosen/designed/implemented.