]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/check.rs
rustdoc: link to stable/beta docs consistently in documentation
[rust.git] / src / test / rustdoc-ui / check.rs
index 022c56214d451fafd197e8b13c21d3d27c6b1253..2b44ba24b4426d1847c88a7dac371af58b8c2427 100644 (file)
@@ -1,10 +1,11 @@
 // check-pass
 // compile-flags: -Z unstable-options --check
+// normalize-stderr-test: "nightly|beta|1\.[0-9][0-9]\.[0-9]" -> "$$CHANNEL"
 
 #![warn(missing_docs)]
 //~^ WARN
 //~^^ WARN
-#![warn(rustdoc)]
+#![warn(rustdoc::all)]
 
 pub fn foo() {}
 //~^ WARN