rust/tests/rustdoc/private-non-local-fields.rs

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

10 lines
314 B
Rust
Raw Normal View History

//! 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>;