about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/doc-alias-crate-level.stderr
blob: 9e746cba05f633439620992ce1cc1a5d894a02d2 (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:3:15
   |
LL | #[doc(alias = "shouldn't work!")]
   |               ^^^^^^^^^^^^^^^^^

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

error: aborting due to 2 previous errors