diff options
| author | Kyle Lin <minecraft.kyle.train@gmail.com> | 2023-06-29 13:24:09 +0800 |
|---|---|---|
| committer | Kyle Lin <minecraft.kyle.train@gmail.com> | 2023-08-18 15:19:08 +0800 |
| commit | da582a71d2c19a2ded0c45f464cb64c9544c26eb (patch) | |
| tree | 51403682d01f15dbdc60e0097500ae632e3bdac2 /tests/rustdoc-ui/lints | |
| parent | b1d232a6da800b26f18d79a0340436fa4aec7327 (diff) | |
| download | rust-da582a71d2c19a2ded0c45f464cb64c9544c26eb.tar.gz rust-da582a71d2c19a2ded0c45f464cb64c9544c26eb.zip | |
Add warn level lint `redundant_explicit_links`
- Currently it will panic due to the resolution's caching issue
Diffstat (limited to 'tests/rustdoc-ui/lints')
| -rw-r--r-- | tests/rustdoc-ui/lints/redundant_explicit_links.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/lints/redundant_explicit_links.rs b/tests/rustdoc-ui/lints/redundant_explicit_links.rs new file mode 100644 index 00000000000..e794388476b --- /dev/null +++ b/tests/rustdoc-ui/lints/redundant_explicit_links.rs @@ -0,0 +1,6 @@ +#![deny(rustdoc::redundant_explicit_links)] + +pub fn dummy_target() {} + +/// [`Vec`](std::vec::Vec) +pub fn c() {} |
