diff options
Diffstat (limited to 'tests/rustdoc/private-non-local-fields.rs')
| -rw-r--r-- | tests/rustdoc/private-non-local-fields.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc/private-non-local-fields.rs b/tests/rustdoc/private-non-local-fields.rs new file mode 100644 index 00000000000..7922ce074dd --- /dev/null +++ b/tests/rustdoc/private-non-local-fields.rs @@ -0,0 +1,9 @@ +//! This test makes sure that with never show the inner fields in the +//! aliased type view of type alias. + +#![crate_name = "foo"] + +use std::collections::BTreeMap; + +// @has 'foo/type.FooBar.html' '//*[@class="rust item-decl"]/code' 'struct FooBar { /* private fields */ }' +pub type FooBar = BTreeMap<u32, String>; |
