]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/check.rs
Rollup merge of #82892 - jix:clarify-read-read, r=joshtriplett
[rust.git] / src / test / rustdoc-ui / check.rs
1 // check-pass
2 // compile-flags: -Z unstable-options --check
3
4 #![warn(missing_docs)]
5 //~^ WARN
6 //~^^ WARN
7 #![warn(rustdoc::all)]
8
9 pub fn foo() {}
10 //~^ WARN
11 //~^^ WARN