rust/tests/ui/attributes/doc-attr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
977 B
Plaintext
Raw Normal View History

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)]
| ^^^^^^
|
2024-02-29 07:43:11 -06:00
= note: `#[deny(invalid_doc_attributes)]` on by default
2021-03-01 10:13:06 -06:00
error: invalid `doc` attribute
2024-02-29 07:43:11 -06:00
--> $DIR/doc-attr.rs:9:7
|
LL | #[doc(123)]
| ^^^
error: invalid `doc` attribute
2024-02-29 07:43:11 -06:00
--> $DIR/doc-attr.rs:11:7
|
LL | #[doc("hello", "bar")]
| ^^^^^^^
error: invalid `doc` attribute
2024-02-29 07:43:11 -06:00
--> $DIR/doc-attr.rs:11:16
|
LL | #[doc("hello", "bar")]
| ^^^^^
error: unknown `doc` attribute `foo::bar`
2024-02-29 07:43:11 -06:00
--> $DIR/doc-attr.rs:14:7
|
LL | #[doc(foo::bar, crate::bar::baz = "bye")]
| ^^^^^^^^
error: unknown `doc` attribute `crate::bar::baz`
2024-02-29 07:43:11 -06:00
--> $DIR/doc-attr.rs:14:17
|
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)]
| ^^^^^^
error: aborting due to 7 previous errors
2021-03-01 10:13:06 -06:00