]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/deprecated-attrs.rs
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / rustdoc-ui / deprecated-attrs.rs
1 // check-pass
2 // compile-flags: --passes unknown-pass
3 // error-pattern: the `passes` flag no longer functions
4
5 #![doc(no_default_passes)]
6 //~^ WARNING attribute is deprecated
7 //~| NOTE see issue #44136
8 //~| HELP no longer functions; you may want to use `#![doc(document_private_items)]`
9 #![doc(passes = "collapse-docs unindent-comments")]
10 //~^ WARNING attribute is deprecated
11 //~| NOTE see issue #44136
12 //~| HELP no longer functions; you may want to use `#![doc(document_private_items)]`
13 #![doc(plugins = "xxx")]
14 //~^ WARNING attribute is deprecated
15 //~| NOTE see issue #44136
16 //~| WARNING no longer functions; see CVE