Skip to content

Commit 25919b0

Browse files
committed
Add regression test for inline doc
1 parent 1476b39 commit 25919b0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Regression test for <https://github.com/rust-lang/rust/pull/113167>
2+
3+
// check-pass
4+
#![deny(rustdoc::redundant_explicit_links)]
5+
6+
mod m {
7+
pub enum ValueEnum {}
8+
}
9+
mod m2 {
10+
/// [`ValueEnum`]
11+
pub use crate::m::ValueEnum;
12+
}
13+
pub use m2::ValueEnum;

0 commit comments

Comments
 (0)