rust/tests/rustdoc/render-enum-variant-structlike-32395.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
392 B
Rust
Raw Normal View History

// aux-build:variant-struct.rs
// build-aux-docs
// ignore-cross-compile
#![crate_name="issue_32395"]
// @has variant_struct/enum.Foo.html
2022-08-12 04:44:07 +00:00
// @!hasraw - 'pub qux'
// @!hasraw - 'pub(crate) qux'
// @!hasraw - 'pub Bar'
extern crate variant_struct;
// @has issue_32395/enum.Foo.html
2022-08-12 04:44:07 +00:00
// @!hasraw - 'pub qux'
// @!hasraw - 'pub(crate) qux'
// @!hasraw - 'pub Bar'
pub use variant_struct::Foo;