about summary refs log tree commit diff
path: root/tests/rustdoc/private-non-local-fields-2.rs
blob: f2d3530c0886619297b98282649ab2cc7bded30f (plain)
1
2
3
4
5
6
7
8
9
10
11
//! This test makes sure that with never show the inner fields in the
//! aliased type view of type alias.

//@ compile-flags: -Z unstable-options --document-private-items

#![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>;