about summary refs log tree commit diff
path: root/compiler/rustc_passes
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2021-10-28 14:44:47 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-10-29 21:27:44 +0200
commit0c708311715befda3fcb7592f2324d96d9afeb74 (patch)
treecc538c3bccee2df516f81cbc5c2918c445580a14 /compiler/rustc_passes
parentf2707fec04f655cdf18388618881748ebbd683e9 (diff)
downloadrust-0c708311715befda3fcb7592f2324d96d9afeb74.tar.gz
rust-0c708311715befda3fcb7592f2324d96d9afeb74.zip
Unify titles in rustdoc book doc attributes chapter
Diffstat (limited to 'compiler/rustc_passes')
-rw-r--r--compiler/rustc_passes/src/check_attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/check_attr.rs b/compiler/rustc_passes/src/check_attr.rs
index 92d9e89c3a3..658a4d3eac7 100644
--- a/compiler/rustc_passes/src/check_attr.rs
+++ b/compiler/rustc_passes/src/check_attr.rs
@@ -768,7 +768,7 @@ impl CheckAttrVisitor<'tcx> {
                             "not a `use` item",
                         );
                     }
-                    err.note("read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#docno_inlinedocinline for more information")
+                    err.note("read https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#inline-and-no_inline for more information")
                         .emit();
                 },
             );