]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/check.rs
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / rustdoc-ui / check.rs
1 // check-pass
2 // compile-flags: -Z unstable-options --check
3 // normalize-stderr-test: "nightly|beta|1\.[0-9][0-9]\.[0-9]" -> "$$CHANNEL"
4
5 #![warn(missing_docs)]
6 //~^ WARN
7 //~^^ WARN
8 #![warn(rustdoc::all)]
9
10 pub fn foo() {}
11 //~^ WARN
12 //~^^ WARN