Skip to content

fix: Correctly escape strings in our quote macro#18092

Merged
bors merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:fix-stringify
Sep 10, 2024
Merged

fix: Correctly escape strings in our quote macro#18092
bors merged 1 commit intorust-lang:masterfrom
ChayimFriedman2:fix-stringify

Conversation

@ChayimFriedman2
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 commented Sep 10, 2024

This is a small change, but it was the cause of 90% of the errors in rust-analyzer diagnostics . 🫢 (because this worked incorrectly with stringify!(), which means every quote!() (the original one) quoting a string also didn't work).

With this change and #18085 together, all remaining errors are type errors.

This may mean we can enable more errors, but this is out of scope for this PR.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 10, 2024
@ChayimFriedman2 ChayimFriedman2 changed the title Correctly escape strings in our quote macro fix: Correctly escape strings in our quote macro Sep 10, 2024
@ChayimFriedman2 ChayimFriedman2 force-pushed the fix-stringify branch 2 times, most recently from 39a0532 to 019472b Compare September 10, 2024 15:58
This is a small change, but it was the cause of 90% of the errors in `rust-analyzer diagnostics .` 🫢

With this change and rust-lang#18085 together, all remaining errors are type errors.

This may mean we can enable more errors, but this is out of scope for this PR.
@lnicola
Copy link
Member

lnicola commented Sep 10, 2024

@bors delegate+

@bors
Copy link
Contributor

bors commented Sep 10, 2024

✌️ @ChayimFriedman2, you can now approve this pull request!

If @lnicola told you to "r=me" after making some further change, please make that change, then do @bors r=@lnicola

@ChayimFriedman2
Copy link
Contributor Author

@bors r=@lnicola

@bors
Copy link
Contributor

bors commented Sep 10, 2024

📌 Commit 7c44d45 has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 10, 2024

⌛ Testing commit 7c44d45 with merge bcc7089...

@bors
Copy link
Contributor

bors commented Sep 10, 2024

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing bcc7089 to master...

@bors bors merged commit bcc7089 into rust-lang:master Sep 10, 2024
@ChayimFriedman2 ChayimFriedman2 deleted the fix-stringify branch February 4, 2025 19:05
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.

4 participants