mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
16 lines
362 B
Rust
16 lines
362 B
Rust
// aux-build:variant-struct.rs
|
|
// build-aux-docs
|
|
// ignore-cross-compile
|
|
|
|
// @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;
|