Skip to content

Commit 1bf30eb

Browse files
rustdoc-json: added a test for rust-lang#107278
1 parent 8b38707 commit 1bf30eb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//@ compile-flags: --document-private-items --document-hidden-items
2+
3+
pub trait TheTrait {}
4+
5+
#[doc(hidden)]
6+
struct Value {}
7+
8+
//@ has '$.index[*][?(@.docs=="THE IMPL")]'
9+
/// THE IMPL
10+
impl TheTrait for Value {}

0 commit comments

Comments
 (0)