mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Add regression test for #112852
This commit is contained in:
parent
a5e0ca962a
commit
449cc6549f
@ -0,0 +1,14 @@
|
||||
#![feature(no_core)]
|
||||
#![no_core]
|
||||
|
||||
// @!has "$.index[*][?(@.name == 'HiddenPubStruct')]"
|
||||
// @!has "$.index[*][?(@.inner.impl)]"
|
||||
// @has "$.index[*][?(@.name=='PubTrait')]"
|
||||
pub trait PubTrait {}
|
||||
|
||||
#[doc(hidden)]
|
||||
pub mod hidden {
|
||||
pub struct HiddenPubStruct;
|
||||
|
||||
impl crate::PubTrait for HiddenPubStruct {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user