rust/tests/rustdoc-ui/lints/rustdoc-all-only-stable-lints.rs

7 lines
130 B
Rust

//@ check-pass
// Ensure `rustdoc::all` only affects stable lints. See #106289.
#![deny(unknown_lints)]
#![allow(rustdoc::all)]