Skip to content

collector should print more descriptive error if found no matches for include/exclude option #1886

@klensy

Description

@klensy

Error really not helpful, it should say about typo or not found benchmark, the same for exclude.

$ ./target/debug/collector.exe binary_stats +nightly-x86_64-pc-windows-msvc \
    --rustc2 +nightly-x86_64-pc-windows-msvc --include "helloworldasd" --profile Debug --backend Llvm
collector error: Warning: one or more unused --include entries: ["helloworldasd"]

See that include - helloworldasd which is unknown benchmark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions