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

Refactor SyntaxContext::ctxt logic. #110497

Merged
merged 1 commit into from
Apr 23, 2023
Merged

Refactor SyntaxContext::ctxt logic. #110497

merged 1 commit into from
Apr 23, 2023

Conversation

cjgillot
Copy link
Contributor

I'm still trying to make a test from the issue.

cc @deepink-mas does this solve the issue?

Fixes #110230

@rustbot
Copy link
Collaborator

rustbot commented Apr 18, 2023

r? @b-naber

(rustbot has picked a reviewer for you, use r? to override)

@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 Apr 18, 2023
@b-naber
Copy link
Contributor

b-naber commented Apr 22, 2023

The change looks good to me.

I tried to check whether this fixes the example in the issue, but I cannot even reproduce the issue.

@cjgillot Do you want this to be merged now or wait until you come up with a test?

@cjgillot
Copy link
Contributor Author

The issue is very hard to reproduce, as it relies on the exact number of characters. I think merging without a test is fine: the old code was wrong.

@b-naber
Copy link
Contributor

b-naber commented Apr 22, 2023

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Apr 22, 2023

📌 Commit 99962a8 has been approved by b-naber

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 Apr 22, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 22, 2023
Refactor `SyntaxContext::ctxt` logic.

I'm still trying to make a test from the issue.

cc `@deepink-mas` does this solve the issue?

Fixes rust-lang#110230
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 22, 2023
Refactor `SyntaxContext::ctxt` logic.

I'm still trying to make a test from the issue.

cc ``@deepink-mas`` does this solve the issue?

Fixes rust-lang#110230
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Apr 22, 2023
Refactor `SyntaxContext::ctxt` logic.

I'm still trying to make a test from the issue.

cc ```@deepink-mas``` does this solve the issue?

Fixes rust-lang#110230
@bors
Copy link
Contributor

bors commented Apr 23, 2023

⌛ Testing commit 99962a8 with merge f12a7fa...

@bors
Copy link
Contributor

bors commented Apr 23, 2023

☀️ Test successful - checks-actions
Approved by: b-naber
Pushing f12a7fa to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 23, 2023
@bors bors merged commit f12a7fa into rust-lang:master Apr 23, 2023
@rustbot rustbot added this to the 1.71.0 milestone Apr 23, 2023
@cjgillot cjgillot deleted the span-ctxt branch April 23, 2023 11:29
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (f12a7fa): comparison URL.

Overall result: ❌ regressions - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.4% [0.4%, 0.5%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

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

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
11.7% [7.5%, 16.6%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.7% [-1.7%, -1.7%] 1
All ❌✅ (primary) - - 0

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
5 participants