diff options
| author | Kyle Lin <minecraft.kyle.train@gmail.com> | 2023-07-01 01:20:33 +0800 |
|---|---|---|
| committer | Kyle Lin <minecraft.kyle.train@gmail.com> | 2023-08-18 15:19:18 +0800 |
| commit | 0e2f2cccd748028a39603e46afc56d7c20bcc7c8 (patch) | |
| tree | ce40aa9a56712f40bdb52497b7a148bd9a3aefe3 /tests/rustdoc-ui/lints/no-redundancy.rs | |
| parent | 5ce6cc7df3175519219c091059dd663313438c97 (diff) | |
| download | rust-0e2f2cccd748028a39603e46afc56d7c20bcc7c8.tar.gz rust-0e2f2cccd748028a39603e46afc56d7c20bcc7c8.zip | |
Add check-pass tests and fix test behavior
Diffstat (limited to 'tests/rustdoc-ui/lints/no-redundancy.rs')
| -rw-r--r-- | tests/rustdoc-ui/lints/no-redundancy.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/lints/no-redundancy.rs b/tests/rustdoc-ui/lints/no-redundancy.rs new file mode 100644 index 00000000000..17582dff6c8 --- /dev/null +++ b/tests/rustdoc-ui/lints/no-redundancy.rs @@ -0,0 +1,4 @@ +// check-pass + +/// [Vec][std::vec::Vec#examples] should not warn, because it's not actually redundant! +pub fn func() {} |
