Add check-pass tests and fix test behavior
This commit is contained in:
parent
5ce6cc7df3
commit
0e2f2cccd7
2 changed files with 6 additions and 1 deletions
4
tests/rustdoc-ui/lints/no-redundancy.rs
Normal file
4
tests/rustdoc-ui/lints/no-redundancy.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
// check-pass
|
||||
|
||||
/// [Vec][std::vec::Vec#examples] should not warn, because it's not actually redundant!
|
||||
pub fn func() {}
|
Loading…
Add table
Add a link
Reference in a new issue