Skip to content

Conversation

@chenyukang
Copy link
Member

@chenyukang chenyukang commented Nov 29, 2025

Fixes #144304

Seems it's better to fix the note instead of modifying the span to cover the whole expression.

r? @estebank

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 29, 2025
@chenyukang chenyukang force-pushed the yukang-fix-mark-span-note-144304 branch from 25479ea to 7a9e0df Compare November 29, 2025 02:58
@estebank
Copy link
Contributor

estebank commented Dec 3, 2025

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 3, 2025

📌 Commit 7a9e0df has been approved by estebank

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 3, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Dec 4, 2025
…te-144304, r=estebank

Fix span note for question mark expression

Fixes rust-lang#144304

Seems it's better to fix the note instead of modifying the span to cover the whole expression.

r? ``@estebank``
@matthiaskrgr
Copy link
Member

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 4, 2025
@Zalathar
Copy link
Member

Zalathar commented Dec 4, 2025

Failed in rollup: #149628 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"this can't be annotated with ?" on expressions not directly annotated with ?

6 participants