mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
15 lines
441 B
Plaintext
15 lines
441 B
Plaintext
error: '\'' character isn't allowed in `#[doc(alias = "...")]`
|
|
--> $DIR/doc-alias-crate-level.rs:3:15
|
|
|
|
|
LL | #[doc(alias = "shouldn't work!")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#![doc(alias = "...")]` isn't allowed as a crate-level attribute
|
|
--> $DIR/doc-alias-crate-level.rs:1:8
|
|
|
|
|
LL | #![doc(alias = "crate-level-not-working")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|