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