Skip to content

Commit b1a13b9

Browse files
authored
Unrolled build for rust-lang#128836
Rollup merge of rust-lang#128836 - its-the-shrimp:add_test_for_107278, r=aDotInTheVoid rustdoc-json: add a test for impls on private & hidden types Fixes rust-lang#107278 (or rather just ensures it won't resurface) r? ``@aDotInTheVoid``
2 parents c7b0d4e + 1bf30eb commit b1a13b9

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)