summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/reexport/private_twice_one_inline.rs
blob: 327b0f45fdd54d6af4f01cb9628381c88d0ff9ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// aux-build:pub-struct.rs

// Test for the ICE in rust/83057
// Am external type re-exported with different attributes shouldn't cause an error

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

extern crate pub_struct as foo;

#[doc(inline)]
pub use foo::Foo;

pub mod bar {
    pub use foo::Foo;
}

// @count private_twice_one_inline.json "$.index[*][?(@.kind=='import')]" 2