Warning: target filter specified, but no targets matched; this is a no-op #15155
Labels
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Z-scrape-examples
Nightly: rustdoc scrape examples
Problem
In a crate that contains no examples, or for which every example has
[[example]] doc-scrape-examples = false
in Cargo.toml, runningcargo +nightly rustdoc -Zrustdoc-scrape-examples --lib
prints this mysterious warning.Steps
// src/lib.rs (empty)
cargo +nightly rustdoc -Zrustdoc-scrape-examples --lib
Possible Solution(s)
A clearer warning that explains example scraping is enabled but the package contains no targets to scrape examples from.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: