mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
12 lines
379 B
Rust
12 lines
379 B
Rust
//! 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>;
|