rust/tests/rustdoc-ui/doc-include-suggestion.stderr

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

11 lines
376 B
Plaintext
Raw Normal View History

2024-02-29 13:43:11 +00:00
error: unknown `doc` attribute `include`
--> $DIR/doc-include-suggestion.rs:1:7
2021-05-19 01:46:41 +00:00
|
LL | #[doc(include = "external-cross-doc.md")]
| ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- help: use `doc = include_str!` instead: `#[doc = include_str!("external-cross-doc.md")]`
|
2024-02-29 13:43:11 +00:00
= note: `#[deny(invalid_doc_attributes)]` on by default
2021-05-19 01:46:41 +00:00
2024-02-29 13:43:11 +00:00
error: aborting due to 1 previous error
2021-05-19 01:46:41 +00:00