We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5165270 commit 10426acCopy full SHA for 10426ac
tests/testsuite/cache_messages.rs
@@ -238,12 +238,8 @@ fn rustdoc() {
238
.file(
239
"src/lib.rs",
240
"
241
- #![warn(private_doc_tests)]
242
- /// asdf
243
- /// ```
244
- /// let x = 1;
245
246
- fn f() {}
+ #![warn(missing_docs)]
+ pub fn f() {}
247
",
248
)
249
.build();
@@ -254,7 +250,7 @@ fn rustdoc() {
254
250
.expect("rustdoc to run");
255
251
assert!(rustdoc_output.status.success());
256
252
let rustdoc_stderr = as_str(&rustdoc_output.stderr);
257
- assert!(rustdoc_stderr.contains("private"));
253
+ assert!(rustdoc_stderr.contains("missing"));
258
assert!(rustdoc_stderr.contains("\x1b["));
259
assert_eq!(
260
p.glob("target/debug/.fingerprint/foo-*/output-*").count(),
0 commit comments