Skip to content

Commit

Permalink
Add regression test for #123158
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 28, 2024
1 parent 75fedfc commit f1cfbdb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/rustdoc-ui/invalid-redundant-explicit-link.rs
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit f1cfbdb

Please sign in to comment.