| error: expected this to be of the form `... = "..."` |
| --> $DIR/invalid-doc-attr-2.rs:3:8 |
| LL | #![doc("other attribute")] |
| = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| note: the lint level is defined here |
| --> $DIR/invalid-doc-attr-2.rs:1:9 |
| LL | #![deny(invalid_doc_attributes)] |
| error: valid forms for the attribute are `#![doc = "string"]`, `#![doc(alias)]`, `#![doc(attribute)]`, `#![doc(auto_cfg)]`, `#![doc(cfg)]`, `#![doc(fake_variadic)]`, `#![doc(hidden)]`, `#![doc(html_favicon_url)]`, `#![doc(html_logo_url)]`, `#![doc(html_no_source)]`, `#![doc(html_playground_url)]`, `#![doc(html_root_url)]`, `#![doc(include)]`, `#![doc(inline)]`, `#![doc(issue_tracker_base_url)]`, `#![doc(keyword)]`, `#![doc(masked)]`, `#![doc(no_default_passes)]`, `#![doc(no_inline)]`, `#![doc(notable_trait)]`, `#![doc(passes)]`, `#![doc(plugins)]`, `#![doc(rust_logo)]`, `#![doc(search_unbox)]`, `#![doc(spotlight)]`, and `#![doc(test)]` |
| --> $DIR/invalid-doc-attr-2.rs:6:1 |
| error: aborting due to 2 previous errors |