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

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