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
305 B
Rust
Raw Normal View History

2023-10-04 13:34:50 -05: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 00:39:02 -06:00
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date