We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583a81d commit 53acfc3Copy full SHA for 53acfc3
src/librustdoc/html/render.rs
@@ -2123,7 +2123,7 @@ fn stability_tags(item: &clean::Item) -> String {
2123
/// documentation.
2124
fn short_stability(item: &clean::Item, cx: &Context) -> Vec<String> {
2125
let mut stability = vec![];
2126
- let error_codes = ErrorCodes::from(UnstableFeatures::from_environment().is_nightly_build());
+ let error_codes = cx.shared.codes;
2127
2128
if let Some(Deprecation { note, since }) = &item.deprecation() {
2129
// We display deprecation messages for #[deprecated] and #[rustc_deprecated]
0 commit comments