rust/tests/ui/rustdoc/duplicate_doc_alias.rs
2023-01-11 09:32:08 +00:00

10 lines
158 B
Rust

#![deny(unused_attributes)]
#[doc(alias = "A")]
#[doc(alias = "A")] //~ ERROR
#[doc(alias = "B")]
#[doc(alias("B"))] //~ ERROR
pub struct Foo;
fn main() {}