diff options
| author | Michael Howell <michael@notriddle.com> | 2023-10-16 16:06:58 -0700 | 
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-10-16 18:01:02 -0700 | 
| commit | 69dc19043bee2ce720f83bf1d6582240547c842e (patch) | |
| tree | 0cfac9f79c907c65c2b42a3f949ffd1cf238358e /tests/rustdoc/render-enum-variant-structlike-32395.rs | |
| parent | df5ea58287419d6f8c89019dafeb48ca7aed3a62 (diff) | |
| download | rust-69dc19043bee2ce720f83bf1d6582240547c842e.tar.gz rust-69dc19043bee2ce720f83bf1d6582240547c842e.zip | |
Rename `issue-\d+.rs` tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/render-enum-variant-structlike-32395.rs')
| -rw-r--r-- | tests/rustdoc/render-enum-variant-structlike-32395.rs | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/tests/rustdoc/render-enum-variant-structlike-32395.rs b/tests/rustdoc/render-enum-variant-structlike-32395.rs new file mode 100644 index 00000000000..d419c75b71c --- /dev/null +++ b/tests/rustdoc/render-enum-variant-structlike-32395.rs @@ -0,0 +1,17 @@ +// aux-build:variant-struct.rs +// build-aux-docs +// ignore-cross-compile + +#![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; | 
