Skip to content
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

Walk back to the root context to compute the span #14349

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

samueltardieu
Copy link
Contributor

Since the error kind (io::ErrorKind::other) is in the root context, the error message must be found in the root context as well to compute the correct span to remove.

Fix #14346

changelog: [io_error_other]: fix non-applicable suggestion

r? @llogiq

Since the error kind (`io::ErrorKind::other`) is in the root context,
the error message must be found in the root context as well to compute
the correct span to remove.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 4, 2025
@llogiq
Copy link
Contributor

llogiq commented Mar 5, 2025

Thank you! Looks good to me.

@llogiq llogiq added this pull request to the merge queue Mar 5, 2025
Merged via the queue into rust-lang:master with commit 9538e5b Mar 5, 2025
11 checks passed
@samueltardieu samueltardieu deleted the push-tpvtxspnrrvl branch March 5, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

io_other_error suggestion doesn’t always delete the ErrorKind
3 participants