rust/tests/rustdoc-ui/invalid-redundant-explicit-link.rs
2024-03-28 11:09:08 +01:00

9 lines
184 B
Rust

//@ check-pass
// Regression test for <https://github.com/rust-lang/rust/issues/123158>. It
// should not emit any warning.
//! [**`SomeTrait`**](SomeTrait):
pub trait SomeTrait {}