summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/reexport/same_type_reexported_more_than_once.rs
blob: eedddd6a7bb48182f86b5aea8d58c0f7035a480c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Regression test for <https://github.com/rust-lang/rust/issues/97432>.

#![feature(no_core)]
#![no_std]
#![no_core]

// @has same_type_reexported_more_than_once.json
// @has - "$.index[*][?(@.name=='Trait')]"
pub use inner::Trait;
// @has - "$.index[*].inner[?(@.name=='Reexport')].id"
pub use inner::Trait as Reexport;

mod inner {
    pub trait Trait {}
}