about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-09-13 18:16:54 -0700
committerManish Goregaokar <manishsmail@gmail.com>2020-09-13 18:16:54 -0700
commit6f1fa2b16376f586285453045788519df527a1b2 (patch)
tree5135dfdf04ab8fb0a5811e97b9bf1a186a0e3d9e /src
parent51c1351f7b9366a295dce5d63c2fd387170d5c34 (diff)
Fix lint name in docs
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustdoc/src/lints.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md
index 7c47f74b3c1..89aeb683682 100644
--- a/src/doc/rustdoc/src/lints.md
+++ b/src/doc/rustdoc/src/lints.md
@@ -50,7 +50,7 @@ warning: `Foo` is both an enum and a function
 1 | /// [`Foo`]
   |      ^^^^^ ambiguous link
   |
-  = note: `#[warn(intra_doc_link_resolution_failure)]` on by default
+  = note: `#[warn(broken_intra_doc_links)]` on by default
 help: to link to the enum, prefix with the item type
   |
 1 | /// [`enum@Foo`]