Add regression test for #123158
This commit is contained in:
parent
75fedfc4ea
commit
f1cfbdbb99
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…
Reference in New Issue
Block a user