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

5 lines
72 B
Rust
Raw Normal View History

2021-01-04 08:05:49 -06:00
#![crate_type = "lib"]
#[doc(alias = "Foo")] //~ ERROR
pub struct Foo;