Add regression test for #123158
This commit is contained in:
parent
75fedfc4ea
commit
f1cfbdbb99
1 changed files with 8 additions and 0 deletions
8
tests/rustdoc-ui/invalid-redundant-explicit-link.rs
Normal file
8
tests/rustdoc-ui/invalid-redundant-explicit-link.rs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
//@ check-pass
|
||||||
|
|
||||||
|
// Regression test for <https://github.com/rust-lang/rust/issues/123158>. It
|
||||||
|
// should not emit any warning.
|
||||||
|
|
||||||
|
//! [**`SomeTrait`**](SomeTrait):
|
||||||
|
|
||||||
|
pub trait SomeTrait {}
|
Loading…
Add table
Reference in a new issue