Skip to content

Commit bf11038

Browse files
committed
Make ci doc check fail on warnings
1 parent f51a306 commit bf11038

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/ci/src/commands/doc_check.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ impl Prepare for DocCheckCommand {
1212
vec![PreparedCommand::new::<Self>(
1313
cmd!(
1414
sh,
15-
"cargo doc --workspace --all-features --no-deps --document-private-items"
15+
"cargo doc --workspace --all-features --no-deps --document-private-items --keep-going"
1616
),
1717
"Please fix doc warnings in output above.",
18-
)]
18+
)
19+
.with_env_var("RUSTDOCFLAGS", "-D warnings")]
1920
}
2021
}

0 commit comments

Comments
 (0)