Use links to edition guide for edition migrations by ehuss · Pull Request #134368 · rust-lang/rust (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, no. We use /nightly/
URLs all over the compiler. The edition guide in particular is somewhat stable, in that it is unlikely /nightly/
will introduce something that is wrong for a stable user. Edition changes are typically (though not always) fixed once it launches. There's also the benefit that users will see the most up-to-date docs with any fixes or clarifications.
That being said, I would think that /stable/
URLs would also be fine once on the stable channel, but the compiler doesn't really have that capability. In cargo, we use an automated linking system to choose the channel. But I don't think that would work very well with compiletest validating the output.