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)

@chenyukang chenyukang force-pushed the yukang-fix-mark-span-note-144304 branch from 7a9e0df to d0bd4df Compare December 13, 2025 04:54
@chenyukang
Copy link
Member Author

@bors try jobs=armhf-gnu

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Dec 13, 2025
…r=<try>

Fix span note for question mark expression

try-job: armhf-gnu
@rust-bors
Copy link

rust-bors bot commented Dec 13, 2025

☀️ Try build successful (CI)
Build commit: 82bb8d7 (82bb8d75dc5252396b7f00c6a8e47c2a54df6925, parent: dc47a69ed94bc88b10b7d500cceacf29b87bcbbe)

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