rust/tests/rustdoc/issue-32395.rs

16 lines
362 B
Rust
Raw Normal View History

// aux-build:variant-struct.rs
// build-aux-docs
// ignore-cross-compile
// @has variant_struct/enum.Foo.html
2022-08-11 23:44:07 -05:00
// @!hasraw - 'pub qux'
// @!hasraw - 'pub(crate) qux'
// @!hasraw - 'pub Bar'
extern crate variant_struct;
// @has issue_32395/enum.Foo.html
2022-08-11 23:44:07 -05:00
// @!hasraw - 'pub qux'
// @!hasraw - 'pub(crate) qux'
// @!hasraw - 'pub Bar'
pub use variant_struct::Foo;