-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-bugCategory: bugCategory: bugZ-scrape-examplesNightly: rustdoc scrape examplesNightly: rustdoc scrape examples
Description
Problem
Cargo requires either -Zscrape-examples=all
or -Zscrape-examples=examples
; if you forget to pass a flag it will silently do nothing. This is a bad user experience, since it's not clear what's going wrong. Cargo should either give a hard error or default to all
.
Steps
cargo doc -Z rustdoc-scrape-examples
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.58.0-nightly (94ca096af 2021-10-29)
release: 1.58.0
commit-hash: 94ca096afbf25f670e76e07dca754fcfe27134be
commit-date: 2021-10-29
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.79.1-DEV (sys:0.4.49+curl-7.79.1 vendored ssl:OpenSSL/1.1.1l)
os: Pop!_OS 21.04 (hirsute) [64-bit]
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bugZ-scrape-examplesNightly: rustdoc scrape examplesNightly: rustdoc scrape examples