Suggest adding quotation marks to identifiers in attributes - #156797
Conversation
…literal was expected
|
Some changes occurred in compiler/rustc_attr_parsing |
|
r? @Kivooeo rustbot has assigned @Kivooeo. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Bors u there??? |
|
This pull request was unapproved. This PR was contained in a rollup (#156808), which was unapproved. |
|
I believe this will fix the test issue, but I haven't figured out how to run the apple tests to be sure. |
|
@bors try jobs=aarch64-apple |
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 77f4876 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
d7be300 to
1fa9548
Compare
|
Okay I have learned the dark secrets of macos emulation. We should be good to go 🙏 @rustbot ready |
|
@bors try jobs=aarch64-apple |
This comment has been minimized.
This comment has been minimized.
|
(Also how did you emulate macos? I haven't tried that myself yet, usually just rely on CI) |
I used QEMU and followed the instructions in this repo: https://github.com/kholia/OSX-KVM |
When the user provides an identifier when a literal was expected in an attribute value, suggest adding quotation marks to the identifier to make it a string literal.
For instance: