Add link to documentation about feature gates

This commit is contained in:
Josh Triplett 2021-11-02 15:30:28 +01:00
parent 597f889e45
commit eb23a7333f

View File

@ -101,6 +101,9 @@ pub fn set(&self, features: &mut Features, span: Span) {
}
}
// See https://rustc-dev-guide.rust-lang.org/feature-gates.html#feature-gates for more
// documentation about handling feature gates.
//
// If you change this, please modify `src/doc/unstable-book` as well.
//
// Don't ever remove anything from this list; move them to `accepted.rs` if