mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00

This also adds a test for the output and fixes `rustc_attr` to properly know that `plugins` is a valid attribute.
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
warning: the `passes` flag is deprecated
|
|
|
|
|
= note: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
|
|
|
|
warning: ignoring unknown pass `unknown-pass`
|
|
|
|
warning: the `#![doc(no_default_passes)]` attribute is deprecated
|
|
--> $DIR/deprecated-attrs.rs:5:8
|
|
|
|
|
LL | #![doc(no_default_passes)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
|
|
= help: you may want to use `#![doc(document_private_items)]`
|
|
|
|
warning: the `#![doc(passes = "...")]` attribute is deprecated
|
|
--> $DIR/deprecated-attrs.rs:9:8
|
|
|
|
|
LL | #![doc(passes = "collapse-docs unindent-comments")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
|
|
|
|
warning: ignoring unknown pass `collapse-docs`
|
|
--> $DIR/deprecated-attrs.rs:9:17
|
|
|
|
|
LL | #![doc(passes = "collapse-docs unindent-comments")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the `collapse-docs` pass was removed in #80261 <https://github.com/rust-lang/rust/pull/80261>
|
|
|
|
warning: the `#![doc(plugins = "...")]` attribute is deprecated
|
|
--> $DIR/deprecated-attrs.rs:14:8
|
|
|
|
|
LL | #![doc(plugins = "xxx")]
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
|
|
= warning: `#![doc(plugins = "...")]` no longer functions; see CVE-2018-1000622 <https://nvd.nist.gov/vuln/detail/CVE-2018-1000622>
|
|
|
|
warning: 5 warnings emitted
|
|
|