Protecting the Rust standard library from accidental breakage

7 points by predrag


BD103

Very cool! Treating unstable items as #[doc(hidden)] is such a clever trick, I never would have thought of that! cargo-semver-checks has cemented itself in the Rust ecosystem as such a reliable and valuable tool, congratulations!

valdemar

How does this interact with items with both a stability guarantee such as #[stable(feature = "rust1", since = "1.0.0")] and #[doc(hidden)] (such as std::vec::from_elem) are these allowed to be broken?