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() {}