rust/tests/ui/rustdoc/duplicate_doc_alias.rs

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

10 lines
158 B
Rust
Raw Normal View History

2021-10-01 13:54:50 -05:00
#![deny(unused_attributes)]
#[doc(alias = "A")]
#[doc(alias = "A")] //~ ERROR
#[doc(alias = "B")]
#[doc(alias("B"))] //~ ERROR
pub struct Foo;
fn main() {}