1 // when implementing the fix for traits-in-bodies, there was an ICE when documenting private items
2 // and a trait was defined in non-module scope
4 // compile-flags:--document-private-items
6 // @has traits_in_bodies_private/struct.SomeStruct.html
7 // @!has - '//code' 'impl HiddenTrait for SomeStruct'
10 fn __implementation_details() {
12 impl HiddenTrait for SomeStruct {}