Add regression test for #123158

This commit is contained in:
Guillaume Gomez 2024-03-28 11:09:08 +01:00
parent 75fedfc4ea
commit f1cfbdbb99

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