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

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

15 lines
419 B
Plaintext
Raw Normal View History

2020-10-04 02:45:39 +08:00
error: '\'' character isn't allowed in `#[doc(alias = "...")]`
2021-01-05 23:20:46 +08:00
--> $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
2021-01-05 23:20:46 +08:00
--> $DIR/doc-alias-crate-level.rs:5:8
|
LL | #![doc(alias = "not working!")]
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors