2020-08-01 16:22:20 +02:00
|
|
|
error: doc alias attribute expects a string: #[doc(alias = "0")]
|
|
|
|
--> $DIR/check-doc-alias-attr.rs:7:7
|
|
|
|
|
|
|
|
|
LL | #[doc(alias)]
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: doc alias attribute expects a string: #[doc(alias = "0")]
|
|
|
|
--> $DIR/check-doc-alias-attr.rs:8:7
|
|
|
|
|
|
|
|
|
LL | #[doc(alias = 0)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: doc alias attribute expects a string: #[doc(alias = "0")]
|
|
|
|
--> $DIR/check-doc-alias-attr.rs:9:7
|
|
|
|
|
|
|
|
|
LL | #[doc(alias("bar"))]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-09-16 16:42:06 +02:00
|
|
|
error: '\"' character isn't allowed in `#[doc(alias = "...")]`
|
|
|
|
--> $DIR/check-doc-alias-attr.rs:10:7
|
|
|
|
|
|
|
|
|
LL | #[doc(alias = "\"")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: '\n' character isn't allowed in `#[doc(alias = "...")]`
|
|
|
|
--> $DIR/check-doc-alias-attr.rs:11:7
|
|
|
|
|
|
|
|
|
LL | #[doc(alias = "\n")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: '\n' character isn't allowed in `#[doc(alias = "...")]`
|
|
|
|
--> $DIR/check-doc-alias-attr.rs:12:7
|
|
|
|
|
|
|
|
|
LL | #[doc(alias = "
|
|
|
|
| _______^
|
|
|
|
LL | | ")]
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: '\t' character isn't allowed in `#[doc(alias = "...")]`
|
2020-10-05 14:00:00 +02:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:14:7
|
2020-09-16 16:42:06 +02:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = "\t")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-10-05 14:00:00 +02:00
|
|
|
error: aborting due to 7 previous errors
|
2020-08-01 16:22:20 +02:00
|
|
|
|