about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/rustdoc-ui/lints/no-redundancy.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/lints/no-redundancy.rs b/tests/rustdoc-ui/lints/no-redundancy.rs
index 17582dff6c8..f9c5e17a5f3 100644
--- a/tests/rustdoc-ui/lints/no-redundancy.rs
+++ b/tests/rustdoc-ui/lints/no-redundancy.rs
@@ -1,4 +1,6 @@
 // check-pass
 
+#![deny(rustdoc::redundant_explicit_links)]
+
 /// [Vec][std::vec::Vec#examples] should not warn, because it's not actually redundant!
 pub fn func() {}