-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add error description for E0455 #33393
Add error description for E0455 #33393
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@@ -26,6 +26,16 @@ name. Example: | |||
``` | |||
"##, | |||
|
|||
E0455: r##" | |||
A framework kind link was used and the OS utilized to compile isn't the OSX. Erroneous code example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the running OS really have to be OSX, or just the target we're compiling for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to compile it on OSX and use it on OSX as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh and the sentence sounds strange here as well. Did you mean "A framework link kind..."?
// OS used to compile is Linux for example | ||
``` | ||
|
||
When using 'framework' link kind ensure to utilize OSX to compile the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"When using 'framework' link kind, please ensure to use OSX to compile the code."
Two last nits, sqaush commits and we're good to merge! |
Done. |
Thanks for your work! |
:) |
@@ -26,6 +26,18 @@ name. Example: | |||
``` | |||
"##, | |||
|
|||
E0455: r##" | |||
A framework link kind was used and the OS used to compile isn't the OSX. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"isn't OS X"
Mention that link kinds are only allowed on OS X.
Done. |
Thanks! r=me |
E0455: r##" | ||
A framework link kind was used and the OS used to compile isn't the OS X | ||
cause native frameworks are only available on OS X targets. | ||
Erroneous code example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a newline above this, to make it its own paragraph
Thanks @cristianoliveira ! I do have some grammar nits before we can merge this in. |
Great! I will change it. :) |
- Adding name attribute to the sample code - Fix description sentences
Done. Also, thank you guys for being patient with the grammar issues. ^^ |
Thanks to you for your contribution. :) Seems all good for me @steveklabnik. |
@cristianoliveira thanks for being patient yourself! It can be tough to go through like 5 rounds of grammar review 😄 @bors: r+ rollup |
📌 Commit 85e0242 has been approved by |
…tion, r=steveklabnik Add error description for E0455 r? @GuillaumeGomez. About this error there is no much thing to explain. The short description says enough to understand. Feel free to review.
:D |
…tion, r=steveklabnik Add error description for E0455 r? @GuillaumeGomez. About this error there is no much thing to explain. The short description says enough to understand. Feel free to review.
…tion, r=steveklabnik Add error description for E0455 r? @GuillaumeGomez. About this error there is no much thing to explain. The short description says enough to understand. Feel free to review.
…tion, r=steveklabnik Add error description for E0455 r? @GuillaumeGomez. About this error there is no much thing to explain. The short description says enough to understand. Feel free to review.
r? @GuillaumeGomez.
About this error there is no much thing to explain. The short description says enough to understand. Feel free to review.