-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Tweak type inference for const
operands in inline asm
#125558
Merged
Merged
Commits on Jul 25, 2024
-
Tweak type inference for
const
operands in inline asmPreviously these would be treated like integer literals and default to `i32` if a type could not be determined. To allow for forward-compatibility with `str` constants in the future, this PR changes type inference to use an unbound type variable instead. The actual type checking is deferred until after typeck where we still ensure that the final type for the `const` operand is an integer type.
Configuration menu - View commit details
-
Copy full SHA for 4d74712 - Browse repository at this point
Copy the full SHA 4d74712View commit details -
Configuration menu - View commit details
-
Copy full SHA for 575fc72 - Browse repository at this point
Copy the full SHA 575fc72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97738e1 - Browse repository at this point
Copy the full SHA 97738e1View commit details -
Apply suggestions from code review
Co-authored-by: Amanieu d'Antras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c77b569 - Browse repository at this point
Copy the full SHA c77b569View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4ca1ac - Browse repository at this point
Copy the full SHA d4ca1acView commit details -
Configuration menu - View commit details
-
Copy full SHA for be66415 - Browse repository at this point
Copy the full SHA be66415View commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b73077e - Browse repository at this point
Copy the full SHA b73077eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47e6db5 - Browse repository at this point
Copy the full SHA 47e6db5View commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eb726a5 - Browse repository at this point
Copy the full SHA eb726a5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.