rust/tests/rustdoc-ui/doc-alias-same-name.rs

5 lines
72 B
Rust

#![crate_type = "lib"]
#[doc(alias = "Foo")] //~ ERROR
pub struct Foo;