summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/doc-alias-crate-level.stderr
blob: bd32609ade2967994b779d1f25b6e50ca0844e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: '\'' character isn't allowed in `#[doc(alias = "...")]`
  --> $DIR/doc-alias-crate-level.rs:7:15
   |
LL | #[doc(alias = "shouldn't work!")]
   |               ^^^^^^^^^^^^^^^^^

error: `#![doc(alias = "...")]` isn't allowed as a crate-level attribute
  --> $DIR/doc-alias-crate-level.rs:5:8
   |
LL | #![doc(alias = "not working!")]
   |        ^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors