]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/passes/collect_intra_doc_links.rs
Fix remaining bugs
[rust.git] / src / librustdoc / passes / collect_intra_doc_links.rs
index 8541e6e18816f5c783800fbe23be99e5780cc1fc..4e5812d7f8429e38a5a5f11042f5912b0a5ee0a4 100644 (file)
@@ -1937,7 +1937,8 @@ fn split(path: &str) -> Option<(&str, &str)> {
                             | Use
                             | LifetimeParam
                             | Ctor(_, _)
-                            | AnonConst => {
+                            | AnonConst
+                            | InlineConst => {
                                 let note = assoc_item_not_allowed(res);
                                 if let Some(span) = sp {
                                     diag.span_label(span, &note);