rust/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
306 B
Rust
Raw Normal View History

2023-10-04 18:34:50 +00:00
//@ compile-flags: -Zdeduplicate-diagnostics=yes
#![deny(unknown_lints)]
//~^ NOTE defined here
#![allow(rustdoc::missing_doc_code_examples)]
//~^ ERROR unknown lint
//~| NOTE lint is unstable
//~| NOTE see issue
2024-01-10 06:39:02 +00:00
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date