mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
16 lines
619 B
Rust
16 lines
619 B
Rust
// check-pass
|
|
// compile-flags: --passes unknown-pass
|
|
// error-pattern: the `passes` flag no longer functions
|
|
|
|
#![doc(no_default_passes)]
|
|
//~^ WARNING attribute is deprecated
|
|
//~| NOTE see issue #44136
|
|
//~| HELP no longer functions; you may want to use `#![doc(document_private_items)]`
|
|
#![doc(passes = "collapse-docs unindent-comments")]
|
|
//~^ WARNING attribute is deprecated
|
|
//~| NOTE see issue #44136
|
|
//~| HELP no longer functions; you may want to use `#![doc(document_private_items)]`
|
|
#![doc(plugins = "xxx")]
|
|
//~^ WARNING attribute is deprecated
|
|
//~| NOTE see issue #44136
|
|
//~| WARNING no longer functions; see CVE
|