]> git.proxmox.com Git - cargo.git/commit - src/doc/src/commands/cargo-doc.md
Auto merge of #10043 - jyn514:hard-error, r=ehuss
authorbors <bors@rust-lang.org>
Sat, 20 Nov 2021 18:23:22 +0000 (18:23 +0000)
committerbors <bors@rust-lang.org>
Sat, 20 Nov 2021 18:23:22 +0000 (18:23 +0000)
commit7a947ae52311941fdaf744b1e06f5a25ad8978dc
tree0c45f5b3bdcbab097c2effdeb40bea3481ed41c8
parent59076352592712c4efe11e916cc23ad47785bab2
parent8713cd7e696de2a4e3a22e359e48a1c92442a8ab
Auto merge of #10043 - jyn514:hard-error, r=ehuss

Give a hard error if `-Zrustdoc-scrape-examples` is missing a flag

It's the same as if the option wasn't passed, and it makes it difficult to
figure out why rustdoc isn't generating examples.

Fixes https://github.com/rust-lang/cargo/issues/10042 (cc `@willcrichton)`