rust/tests/ui/rustdoc/doc-alias-use-item-list-stem.rs

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

12 lines
267 B
Rust
Raw Normal View History

// 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() {}