about summary refs log tree commit diff
path: root/tests/rustdoc/render-enum-variant-structlike-32395.rs
blob: dbe40304c17a99c71bd1a201e40032f03993843c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//@ aux-build:variant-struct.rs
//@ build-aux-docs
//@ ignore-cross-compile

// https://github.com/rust-lang/rust/issues/32395
#![crate_name="issue_32395"]

// @has variant_struct/enum.Foo.html
// @!hasraw - 'pub qux'
// @!hasraw - 'pub(crate) qux'
// @!hasraw - 'pub Bar'
extern crate variant_struct;

// @has issue_32395/enum.Foo.html
// @!hasraw - 'pub qux'
// @!hasraw - 'pub(crate) qux'
// @!hasraw - 'pub Bar'
pub use variant_struct::Foo;