about summary refs log tree commit diff
path: root/tests/rustdoc-ui/lints/feature-gate-rustdoc_missing_doc_code_examples.rs
blob: 46e337cf2b3fa947f4e7233aed63a3f645c22d0e (plain)
1
2
3
4
5
6
7
8
//@ 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
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date