summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/deprecated-attrs.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/deprecated-attrs.stderr')
-rw-r--r--src/test/rustdoc-ui/deprecated-attrs.stderr34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/deprecated-attrs.stderr b/src/test/rustdoc-ui/deprecated-attrs.stderr
new file mode 100644
index 000000000..45b20ce70
--- /dev/null
+++ b/src/test/rustdoc-ui/deprecated-attrs.stderr
@@ -0,0 +1,34 @@
+warning: the `passes` flag no longer functions
+ |
+ = note: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
+ = help: you may want to use --document-private-items
+
+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: `#![doc(no_default_passes)]` no longer functions; 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
+ = help: `#![doc(passes = "...")]` no longer functions; you may want to use `#![doc(document_private_items)]`
+
+warning: the `#![doc(plugins = "...")]` attribute is deprecated
+ --> $DIR/deprecated-attrs.rs:13: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: 3 warnings emitted
+