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

11 lines
376 B
Plaintext
Raw Permalink Normal View History

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