summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/duplicate_doc_alias.stderr
blob: 4b2dd1f8eb68e1b66a7b3814e9716af51afaa3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
error: doc alias is duplicated
  --> $DIR/duplicate_doc_alias.rs:4:7
   |
LL | #[doc(alias = "A")]
   |       ----------- first defined here
LL | #[doc(alias = "A")]
   |       ^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/duplicate_doc_alias.rs:1:9
   |
LL | #![deny(unused_attributes)]
   |         ^^^^^^^^^^^^^^^^^

error: doc alias is duplicated
  --> $DIR/duplicate_doc_alias.rs:6:13
   |
LL | #[doc(alias = "B")]
   |       ----------- first defined here
LL | #[doc(alias("B"))]
   |             ^^^

error: aborting due to 2 previous errors