rust/tests/rustdoc-ui/doc-alias-crate-level.stderr

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

15 lines
441 B
Plaintext
Raw Normal View History

2020-10-03 13:45:39 -05:00
error: '\'' character isn't allowed in `#[doc(alias = "...")]`
2021-01-05 09:20:46 -06:00
--> $DIR/doc-alias-crate-level.rs:3:15
2020-10-03 13:45:39 -05:00
|
LL | #[doc(alias = "shouldn't work!")]
2020-11-28 10:53:20 -06:00
| ^^^^^^^^^^^^^^^^^
2020-10-03 13:45:39 -05:00
error: `#![doc(alias = "...")]` isn't allowed as a crate-level attribute
2021-01-05 09:20:46 -06:00
--> $DIR/doc-alias-crate-level.rs:1:8
|
2020-10-03 13:45:39 -05:00
LL | #![doc(alias = "crate-level-not-working")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-10-03 13:45:39 -05:00
error: aborting due to 2 previous errors