Skip to content

Commit f557369

Browse files
authored
Merge pull request #659 from jyn514/may-you-live-in-interesting-times
Add --cap-lints warn
2 parents d60e54f + c594a74 commit f557369

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/docbuilder/rustwide_builder.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ impl RustwideBuilder {
442442
format!("-{}", parse_rustc_version(&self.rustc_version)?),
443443
"--static-root-path".to_string(),
444444
"/".to_string(),
445+
"--cap-lints".to_string(),
446+
"warn".to_string(),
445447
];
446448
for dep in &cargo_metadata.root_dependencies() {
447449
rustdoc_flags.push("--extern-html-root-url".to_string());

0 commit comments

Comments
 (0)