about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/rustc-private-76736-4.rs
blob: 511464f2c498f1f347c016b4ed8e9c6fd4cfb0b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// https://github.com/rust-lang/rust/issues/76736

//@ aux-build:issue-76736-1.rs
//@ aux-build:issue-76736-2.rs

// https://github.com/rust-lang/rust/issues/124635

#![crate_name = "foo"]
#![feature(rustc_private, staged_api)]
#![unstable(feature = "rustc_private", issue = "none")]

extern crate issue_76736_1;
extern crate issue_76736_2;

//@ has foo/struct.Foo.html
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'MaybeResult'
pub struct Foo;

//@ has foo/struct.Bar.html
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'MaybeResult'
pub use issue_76736_2::Bar;