rust/tests/rustdoc-ui/invalid-redundant-explicit-...

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 {}