about summary refs log tree commit diff
path: root/tests/ui/rustdoc/doc-alias-use-item-list-stem.rs
blob: ef310843e2136c11d12be791dff25c0b7fdb8819 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Check that we don't ICE on `#[doc(alias)]`es placed on use items with list stems.
// issue: <https://github.com/rust-lang/rust/issues/138723>
//@ check-pass

#[doc(alias = "empty")]
pub use {};

#[doc(alias = "id")]
pub use {std::convert::identity};

fn main() {}