about summary refs log tree commit diff
path: root/src/librustdoc/html/format.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2021-11-26 21:20:24 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-20 17:00:48 +0200
commit3f12fa7fda96de6687cdd281affcee4a61c35b80 (patch)
treebab9532c53d1f3111f87aedf23669d62636a0e6f /src/librustdoc/html/format.rs
parenta5c039cdb7431ddf3653c582b98ab6eb9af0701b (diff)
downloadrust-3f12fa7fda96de6687cdd281affcee4a61c35b80.tar.gz
rust-3f12fa7fda96de6687cdd281affcee4a61c35b80.zip
Add support for macro in "jump to def" feature
Diffstat (limited to 'src/librustdoc/html/format.rs')
-rw-r--r--src/librustdoc/html/format.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs
index 5baa53d5554..29a58810036 100644
--- a/src/librustdoc/html/format.rs
+++ b/src/librustdoc/html/format.rs
@@ -519,6 +519,7 @@ impl clean::GenericArgs {
 }
 
 // Possible errors when computing href link source for a `DefId`
+#[derive(PartialEq, Eq)]
 pub(crate) enum HrefError {
     /// This item is known to rustdoc, but from a crate that does not have documentation generated.
     ///