mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
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