about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2025-07-16 22:39:04 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2025-07-17 23:27:19 +0000
commit83255f57e09694f68b5df6713de46de7894d469b (patch)
treebc0f9c0a3be564197bfe21711a49c6bd18145dde /src/librustdoc/html/render/mod.rs
parent439803deada83319f685cfd1156ef847ed127742 (diff)
downloadrust-83255f57e09694f68b5df6713de46de7894d469b.tar.gz
rust-83255f57e09694f68b5df6713de46de7894d469b.zip
Include ErrorGuaranteed in StableSince::Err.
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index d8c37137bbc..2cfc9af39e4 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -1110,7 +1110,7 @@ fn since_to_string(since: &StableSince) -> Option<String> {
     match since {
         StableSince::Version(since) => Some(since.to_string()),
         StableSince::Current => Some(RustcVersion::CURRENT.to_string()),
-        StableSince::Err => None,
+        StableSince::Err(_) => None,
     }
 }