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)

@chenyukang
Copy link
Member Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 16, 2025
@estebank
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 16, 2025

📌 Commit d0bd4df 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 16, 2025
@bors
Copy link
Collaborator

bors commented Dec 16, 2025

⌛ Testing commit d0bd4df with merge 31010ca...

@bors
Copy link
Collaborator

bors commented Dec 16, 2025

☀️ Test successful - checks-actions
Approved by: estebank
Pushing 31010ca to main...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 16, 2025
@bors bors merged commit 31010ca into rust-lang:main Dec 16, 2025
13 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Dec 16, 2025
@github-actions
Copy link
Contributor

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 95a27ad (parent) -> 31010ca (this PR)

Test differences

Show 5 test diffs

Stage 1

  • [ui] tests/ui/traits/question-mark-span-144304.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/traits/question-mark-span-144304.rs: [missing] -> pass (J0)
  • [ui] tests/ui/traits/question-mark-span-144304.rs: [missing] -> ignore (ignored when the architecture is arm (armhf-gnu have more types implement trait From<T>, let's skip it)) (J2)

Additionally, 2 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 31010ca61c3ff019e1480dda0a7ef16bd2bd51c0 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-x86_64-apple: 6997.4s -> 10149.6s (+45.0%)
  2. aarch64-apple: 10788.9s -> 12648.5s (+17.2%)
  3. dist-x86_64-llvm-mingw: 7387.7s -> 8292.1s (+12.2%)
  4. dist-x86_64-solaris: 5016.9s -> 5510.0s (+9.8%)
  5. dist-android: 1527.1s -> 1671.5s (+9.5%)
  6. dist-apple-various: 3854.4s -> 4216.0s (+9.4%)
  7. dist-x86_64-netbsd: 4885.2s -> 5302.5s (+8.5%)
  8. dist-ohos-x86_64: 4200.6s -> 4501.4s (+7.2%)
  9. x86_64-gnu-miri: 5105.1s -> 4749.5s (-7.0%)
  10. x86_64-rust-for-linux: 3175.6s -> 2960.6s (-6.8%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (31010ca): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.2% [-0.2%, -0.2%] 1
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -2.8%, secondary -0.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.7% [2.7%, 2.7%] 1
Improvements ✅
(primary)
-2.8% [-2.8%, -2.8%] 1
Improvements ✅
(secondary)
-3.9% [-3.9%, -3.9%] 1
All ❌✅ (primary) -2.8% [-2.8%, -2.8%] 1

Cycles

Results (secondary -3.9%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.9% [-3.9%, -3.9%] 1
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 479.485s -> 479.038s (-0.09%)
Artifact size: 390.32 MiB -> 390.32 MiB (0.00%)

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

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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 ?

7 participants