2021-03-01 10:13:06 -06:00
|
|
|
error: unknown `doc` attribute `as_ptr`
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:5:7
|
2021-03-01 10:13:06 -06:00
|
|
|
|
|
|
|
|
LL | #[doc(as_ptr)]
|
|
|
|
| ^^^^^^
|
2021-03-02 08:42:32 -06:00
|
|
|
|
|
2024-02-29 07:43:11 -06:00
|
|
|
= note: `#[deny(invalid_doc_attributes)]` on by default
|
2021-03-01 10:13:06 -06:00
|
|
|
|
2021-03-14 16:00:02 -05:00
|
|
|
error: invalid `doc` attribute
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:9:7
|
2021-03-13 18:36:38 -06:00
|
|
|
|
|
|
|
|
LL | #[doc(123)]
|
|
|
|
| ^^^
|
|
|
|
|
2021-03-14 16:00:02 -05:00
|
|
|
error: invalid `doc` attribute
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:11:7
|
2021-03-13 18:36:38 -06:00
|
|
|
|
|
|
|
|
LL | #[doc("hello", "bar")]
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2021-03-14 16:00:02 -05:00
|
|
|
error: invalid `doc` attribute
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:11:16
|
2021-03-13 18:36:38 -06:00
|
|
|
|
|
|
|
|
LL | #[doc("hello", "bar")]
|
|
|
|
| ^^^^^
|
|
|
|
|
2021-03-14 16:00:02 -05:00
|
|
|
error: unknown `doc` attribute `foo::bar`
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:14:7
|
2021-03-13 18:36:38 -06:00
|
|
|
|
|
|
|
|
LL | #[doc(foo::bar, crate::bar::baz = "bye")]
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
2021-03-14 16:00:02 -05:00
|
|
|
error: unknown `doc` attribute `crate::bar::baz`
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:14:17
|
2021-03-13 18:36:38 -06:00
|
|
|
|
|
|
|
|
LL | #[doc(foo::bar, crate::bar::baz = "bye")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-03-01 10:13:06 -06:00
|
|
|
error: unknown `doc` attribute `as_ptr`
|
2024-02-29 07:43:11 -06:00
|
|
|
--> $DIR/doc-attr.rs:2:8
|
2021-03-01 10:13:06 -06:00
|
|
|
|
|
|
|
|
LL | #![doc(as_ptr)]
|
|
|
|
| ^^^^^^
|
|
|
|
|
2021-03-13 18:36:38 -06:00
|
|
|
error: aborting due to 7 previous errors
|
2021-03-01 10:13:06 -06:00
|
|
|
|