about summary refs log tree commit diff
path: root/tests/rustdoc/private-non-local-fields.rs
blob: aa7f01a58c6c12a70c985bd06bcf12d9a7598553 (plain)
1
2
3
4
5
6
7
8
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>;