rust/tests/rustdoc-ui/doctest/doc-test-attr.stderr

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

23 lines
501 B
Plaintext
Raw Normal View History

error: `#[doc(test(...)]` takes a list of attributes
2024-02-29 07:43:11 -06:00
--> $DIR/doc-test-attr.rs:3:8
|
LL | #![doc(test)]
| ^^^^
|
2024-02-29 07:43:11 -06:00
= note: `#[deny(invalid_doc_attributes)]` on by default
error: `#[doc(test(...)]` takes a list of attributes
2024-02-29 07:43:11 -06:00
--> $DIR/doc-test-attr.rs:5:8
|
LL | #![doc(test = "hello")]
| ^^^^^^^^^^^^^^
error: unknown `doc(test)` attribute `a`
2024-02-29 07:43:11 -06:00
--> $DIR/doc-test-attr.rs:7:13
|
LL | #![doc(test(a))]
| ^
error: aborting due to 3 previous errors