-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add better error message when it can not find the search section #12865
Conversation
r? @weihanglo (rustbot has picked a reviewer for you, use r? to override) |
Hi @epage, do you have any suggestions here? It seems we use the API from the local manifest to modify the cargo/src/cargo/ops/cargo_remove.rs Line 49 in a2a2cf0
I'm not entirely certain whether it would make sense to change the API to include fallback_search_tables or if there's a better API design available. |
The caller of the |
a2a2cf0
to
9c83284
Compare
9c83284
to
da11a66
Compare
42a1a02
to
be4375e
Compare
cargo remove
@epage Friendly ping~ |
f166eea
to
5ee48e7
Compare
#12921 addresses the nightly failure |
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
5ee48e7
to
fb0bbe3
Compare
Thanks! @bors r+ |
☀️ Test successful - checks-actions |
Update cargo 7 commits in 65e297d1ec0dee1a74800efe600b8dc163bcf5db..7046d992f9f32ba209a8079f662ebccf9da8de25 2023-11-03 20:56:31 +0000 to 2023-11-08 03:24:57 +0000 - fix: Report more detailed semver errors (rust-lang/cargo#12924) - Fix some broken links in the man pages (rust-lang/cargo#12929) - Add better error message when it can not find the search section (rust-lang/cargo#12865) - Bug 12920 (rust-lang/cargo#12923) - Update link in environment-variables.md (rust-lang/cargo#12922) - refactor(toml): Pull out the schema (rust-lang/cargo#12911) - tests: Remove plugin tests (rust-lang/cargo#12921) r? ghost
What does this PR try to resolve?
close #12405
Try to give a better error message when it can not find the specific section.
How should we test and review this PR?
I updated all broken tests. You can check out these tests.
Additional information
None