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-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:7:15
|
LL | #[doc(alias = "shouldn't work!")]
| ^^^^^^^^^^^^^^^^^
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:5:8
|
LL | #![doc(alias = "not working!")]
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors