2020-12-01 16:42:07 -06:00
|
|
|
error: doc alias attribute expects a string: #[doc(alias = "a")]
|
2020-11-25 07:27:51 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:6:7
|
2020-08-01 09:22:20 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias)]
|
|
|
|
| ^^^^^
|
|
|
|
|
2020-12-01 16:42:07 -06:00
|
|
|
error: doc alias attribute expects a string: #[doc(alias = "a")]
|
2020-11-25 07:27:51 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:7:7
|
2020-08-01 09:22:20 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = 0)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2020-12-01 16:42:07 -06:00
|
|
|
error: doc alias attribute expects a string: #[doc(alias = "a")]
|
2020-11-25 07:27:51 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:8:7
|
2020-08-01 09:22:20 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias("bar"))]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2020-09-16 09:42:06 -05:00
|
|
|
error: '\"' character isn't allowed in `#[doc(alias = "...")]`
|
2020-11-28 10:53:20 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:9:15
|
2020-09-16 09:42:06 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = "\"")]
|
2020-11-28 10:53:20 -06:00
|
|
|
| ^^^^
|
2020-09-16 09:42:06 -05:00
|
|
|
|
|
|
|
error: '\n' character isn't allowed in `#[doc(alias = "...")]`
|
2020-11-28 10:53:20 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:10:15
|
2020-09-16 09:42:06 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = "\n")]
|
2020-11-28 10:53:20 -06:00
|
|
|
| ^^^^
|
2020-09-16 09:42:06 -05:00
|
|
|
|
|
|
|
error: '\n' character isn't allowed in `#[doc(alias = "...")]`
|
2020-11-28 10:53:20 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:11:15
|
2020-09-16 09:42:06 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = "
|
2020-11-28 10:53:20 -06:00
|
|
|
| _______________^
|
2020-09-16 09:42:06 -05:00
|
|
|
LL | | ")]
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: '\t' character isn't allowed in `#[doc(alias = "...")]`
|
2020-11-28 10:53:20 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:13:15
|
2020-09-16 09:42:06 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = "\t")]
|
2020-11-28 10:53:20 -06:00
|
|
|
| ^^^^
|
2020-09-16 09:42:06 -05:00
|
|
|
|
2020-10-06 07:29:42 -05:00
|
|
|
error: `#[doc(alias = "...")]` cannot start or end with ' '
|
2020-11-28 10:53:20 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:14:15
|
2020-10-06 07:29:42 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = " hello")]
|
2020-11-28 10:53:20 -06:00
|
|
|
| ^^^^^^^^
|
2020-10-06 07:29:42 -05:00
|
|
|
|
|
|
|
error: `#[doc(alias = "...")]` cannot start or end with ' '
|
2020-11-28 10:53:20 -06:00
|
|
|
--> $DIR/check-doc-alias-attr.rs:15:15
|
2020-10-06 07:29:42 -05:00
|
|
|
|
|
|
|
|
LL | #[doc(alias = "hello ")]
|
2020-11-28 10:53:20 -06:00
|
|
|
| ^^^^^^^^
|
2020-10-06 07:29:42 -05:00
|
|
|
|
|
|
|
error: aborting due to 9 previous errors
|
2020-08-01 09:22:20 -05:00
|
|
|
|